enable target in navigation

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