enable target in navigation

parent f9bd5685
...@@ -59,6 +59,7 @@ return [ ...@@ -59,6 +59,7 @@ return [
'label' => 'Φόρουμ βοήθειας', 'label' => 'Φόρουμ βοήθειας',
'href' => '/#forum', 'href' => '/#forum',
'external' => true, 'external' => true,
'target' => '_blank',
], ],
], ],
......
{% macro li(page) %} {% macro li(page) %}
<li role="presentation" class="{% if page.active %}active {% endif %}{{ page.class|default('') }}"> <li role="presentation" class="{% if page.active %}active {% endif %}{{ page.class|default('') }}">
<a href="{{ page.href }}" {% if page.id %}id="{{ page.id }}"{% endif %} title="{{ page.label|striptags|e }}"> <a href="{{ page.href }}" {% if page.id %}id="{{ page.id }}"{% endif %} title="{{ page.label|striptags|e }}"
{% if page.target %}target="{{ page.target }}"{% endif %}>
{% if page.icon %} {% if page.icon %}
<i class="fa fa-{{ page.icon }}"></i> <i class="fa fa-{{ page.icon }}"></i>
{% endif %} {% endif %}
......
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