fix navigation
This commit is contained in:
parent
06fa205478
commit
5b9396f488
|
@ -19,7 +19,7 @@
|
|||
{%- if menu -%}
|
||||
<nav class="navigation">
|
||||
<ul>
|
||||
{%- for item in menu.rootNode.children({isVisible: true}) -%}
|
||||
{%- for item in menu.rootNode.children({visible: true}) -%}
|
||||
<li>
|
||||
{%- set icon -%}
|
||||
{%- if item.attributes.icon is defined -%}
|
||||
|
@ -43,7 +43,7 @@
|
|||
|
||||
{%- if network -%}
|
||||
<ul class="links">
|
||||
{%- for item in network.rootNode.children({isVisible: true}) -%}
|
||||
{%- for item in network.rootNode.children({visible: true}) -%}
|
||||
<li class="link link-{{- item.attributes.icon.value -}}">
|
||||
<a href="{{- safe_node_url(item) -}}" class="deblan-icon deblan-icon-{{- item.attributes.icon.value -}}" target="_blank" rel="me">
|
||||
<span>{{- item.label -}}</span>
|
||||
|
@ -58,7 +58,7 @@
|
|||
<nav class="navigation">
|
||||
{%- if menu -%}
|
||||
<ul>
|
||||
{%- for item in menu.rootNode.children({isVisible: true}) -%}
|
||||
{%- for item in menu.rootNode.children({visible: true}) -%}
|
||||
<li>
|
||||
<a href="{{- safe_node_url(item, {_domain: _domain}) -}}" {% if _store.isActiveNode(item, true) %}class="active"{% endif %} {% if item.hasExternalUrl %}target="_blank"{% endif %}>
|
||||
{%- set icon -%}
|
||||
|
|
Loading…
Reference in a new issue