diff --git a/templates/base.html b/templates/base.html index eb18b29..59ff847 100644 --- a/templates/base.html +++ b/templates/base.html @@ -108,7 +108,7 @@ {# Open links in new window depending on the LINKS_IN_NEW_TAB setting #} - {% macro link_target(link) -%} + {% macro get_target(link) -%} {% if LINKS_IN_NEW_TAB not in ('no', 'none', false, 0, 'external') or (LINKS_IN_NEW_TAB == "external" and not link.startswith("/") and not link.startswith(SITEURL)) %} target="_blank" {% endif %} @@ -119,12 +119,12 @@ {%- endif %} {% if DISPLAY_PAGES_ON_MENU %} {% for page in pages %} - {{ page.title }} + {{ page.title }} {% endfor %} {% endif %} {% for name, link in LINKS %} - {{ name }} + {{ name }} {% endfor %}