Files
com.xaymar.www/_includes/navigation.liquid
T

22 lines
578 B
Plaintext
Raw Normal View History

2021-12-24 11:00:43 +01:00
<ul class="menu">
{% for entry in include.data %}
<li id="{{ entry[0] }}" class="entry {% if entry[1].entries != nil %}has-menu {% endif %}">
{% if entry[1].url != nil %}
2021-12-24 20:05:17 +01:00
<a class="item" href="{{ entry[1].url | absolute_url }}" {% if entry[1].blank %}target="_blank"{% endif %}>
{% else %}
<span class="item">
2021-12-24 11:00:43 +01:00
{% endif %}
{{ entry[1].name }}
{% if entry[1].url != nil %}
</a>
2021-12-24 20:05:17 +01:00
{% else %}
</span>
2021-12-24 11:00:43 +01:00
{% endif %}
2022-03-06 09:21:47 +01:00
{% if entry[1].entries != nil %}
{% assign data=entry[1].entries %}
{% include navigation.liquid data=data %}
{% endif %}
2021-12-24 11:00:43 +01:00
</li>
{% endfor %}
</ul>