Commit dcb73c26 authored by andre's avatar andre

Bootstrap - Make menu link optional

parent a3089c94
......@@ -44,13 +44,13 @@
</li>
{% else %}
<li class="nav-item {{ subitem.class|default('') }}">
<a class="nav-link" href="{{ item.link }}" {% if item.external|default(false) %}target="_blank" rel="noopener"{% endif %}>
{% if item.link is defined %}<a class="nav-link" href="{{ item.link }}" {% if item.external|default(false) %}target="_blank" rel="noopener"{% endif %}>{% endif %}
{% if item.icon is defined %}<span class="{{ item.icon }}"></span>{% endif %}
{% if item.wrapper is defined%}<span class="{{ item.wrapper }}">{% endif %}
{{ item.html|default('')|raw }}
{{ item.text|default('') }}
{% if item.wrapper is defined%}</span>{% endif %}
</a>
{% if item.link is defined %}</a>{% endif %}
</li>
{% endif %}
{% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment