summaryrefslogtreecommitdiff
path: root/templates/macros.html
diff options
context:
space:
mode:
authorsoaos <soaos@soaos.dev>2025-11-25 08:30:53 -0500
committersoaos <soaos@soaos.dev>2025-11-25 08:30:53 -0500
commit27e2bc6928666ced9a402f589e56e8fbc9f78f81 (patch)
treeb6a024b530b43651884f4863193bb13051a977da /templates/macros.html
parent53bbac67cfc300f86d8c836e5f6ce7be1afd7b0e (diff)
Album tree view on about page
Diffstat (limited to 'templates/macros.html')
-rw-r--r--templates/macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/macros.html b/templates/macros.html
index ce73ca7..5642fc2 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -50,9 +50,9 @@
</li>
{% endmacro endsubtree %}
-{% macro treelink(text, url, blank=false, wip=false, wip_tooltip="") %}
+{% macro treelink(text, url="", blank=false, wip=false, wip_tooltip="") %}
<li>
- <a href="{{ url }}" {% if blank %} target="_blank" {% endif %} {% if rel %} rel="{{ rel }}" {% endif %}>{{ text }}</a>
+ <a href="{{ url }}" {% if blank %} target="_blank" {% endif %} {% if rel %} rel="{{ rel }}" {% endif %}>{{ text | safe }}</a>
{% if wip %}
<span {% if wip_tooltip %}data-tooltip="{{ wip_tooltip }}" {% endif %}>
<span class="under-construction unselectable">⚠</span>