This commit is contained in:
Simon Vieille 2022-05-08 17:18:22 +02:00
parent e1d6c4d79f
commit afc6f22c49
Signed by: deblan
GPG Key ID: 579388D585F70417
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
{%- endif -%}
{%- endset -%}
<a href="{{- safe_node_url(item, {_domain: _domain}) -}}" {%- if _store.isActiveNode(item, true) -%}class="active"{%- endif -%} {%- if item.hasExternalUrl -%}target="_blank"{%- endif -%}>
<a href="{{- safe_node_url(item, {_domain: _domain}) -}}" {% if _store.isActiveNode(item, true) %}class="active"{% endif %} {%- if item.hasExternalUrl -%}target="_blank"{%- endif -%}>
{{- icon|raw -}}
{{- item.label -}}
</a>
@ -60,7 +60,7 @@
<ul>
{%- for item in menu.rootNode.children({isVisible: true}) -%}
<li>
<a href="{{- safe_node_url(item, {_domain: _domain}) -}}" {%- if _store.isActiveNode(item, true) -%}class="active"{%- endif -%} {%- if item.hasExternalUrl -%}target="_blank"{%- endif -%}>
<a href="{{- safe_node_url(item, {_domain: _domain}) -}}" {% if _store.isActiveNode(item, true) %}class="active"{% endif %} {% if item.hasExternalUrl %}target="_blank"{% endif %}>
{%- set icon -%}
{%- if item.attributes.icon is defined -%}
<span class="deblan-icon deblan-icon-{{- item.attributes.icon.value -}}"></span>