diff options
| author | soaos <soaos@soaos.dev> | 2025-11-25 08:30:53 -0500 |
|---|---|---|
| committer | soaos <soaos@soaos.dev> | 2025-11-25 08:30:53 -0500 |
| commit | 27e2bc6928666ced9a402f589e56e8fbc9f78f81 (patch) | |
| tree | b6a024b530b43651884f4863193bb13051a977da /templates/macros.html | |
| parent | 53bbac67cfc300f86d8c836e5f6ce7be1afd7b0e (diff) | |
Album tree view on about page
Diffstat (limited to 'templates/macros.html')
| -rw-r--r-- | templates/macros.html | 4 |
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> |
