diff options
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> |
