Open header links in new tabs

main
Georg Krause 2021-10-15 12:13:33 +02:00
parent 56448ef765
commit 505be9315e
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ fab fa-{{icon}}
{% if LINKS or (DISPLAY_PAGES_ON_MENU and pages) or ICONS %}
<ul class="list-inline">
{% for title, link in LINKS %}
<li class="list-inline-item"><a rel="me" href="{{ url(link) }}" target="_blank">{{ title }}</a></li>
<li class="list-inline-item"><a href="{{ url(link) }}" target="_blank">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU %}
{% for page in pages %}
@ -41,7 +41,7 @@ fab fa-{{icon}}
{% if (LINKS or (DISPLAY_PAGES_ON_MENU and pages)) and loop.first %}
<li class=" list-inline-item text-muted">|</li>
{% endif %}
<li class="list-inline-item"><a class="{{ fa(icon) }}" href="{{ url(link) }}" target="_blank"></a></li>
<li class="list-inline-item"><a rel="me" class="{{ fa(icon) }}" href="{{ url(link) }}" target="_blank"></a></li>
{% endfor %}
</ul>
{% endif %}