blob: 7c7dc6aa79bf7cfed6c2fb781a838db774d997e0 (
plain)
1
2
3
4
5
6
7
8
|
{% for title, link in MENUITEMS %}
{# Do magic with http/https #}
{% if 'http://' in link or 'https://' in link %}
<a class="nav-item" href="{{ link }}">{{ title }} </a>
{% else %}
<a class="nav-item" href="{{ SITEURL }}{{ link }}">{{ title }} </a>
{% endif %}
{% endfor %}
|