fix html
This commit is contained in:
parent
e1d6c4d79f
commit
afc6f22c49
|
@ -31,7 +31,7 @@
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endset -%}
|
{%- 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 -}}
|
{{- icon|raw -}}
|
||||||
{{- item.label -}}
|
{{- item.label -}}
|
||||||
</a>
|
</a>
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
{%- for item in menu.rootNode.children({isVisible: true}) -%}
|
{%- for item in menu.rootNode.children({isVisible: true}) -%}
|
||||||
<li>
|
<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 -%}
|
{%- set icon -%}
|
||||||
{%- if item.attributes.icon is defined -%}
|
{%- if item.attributes.icon is defined -%}
|
||||||
<span class="deblan-icon deblan-icon-{{- item.attributes.icon.value -}}"></span>
|
<span class="deblan-icon deblan-icon-{{- item.attributes.icon.value -}}"></span>
|
||||||
|
|
Loading…
Reference in a new issue