first commit
This commit is contained in:
12
views/partials/menu.twig
Normal file
12
views/partials/menu.twig
Normal file
@ -0,0 +1,12 @@
|
||||
{% if menu %}
|
||||
<ul>
|
||||
{% for item in items %}
|
||||
<li class="{{ item.classes|join(' ') }}">
|
||||
<a target="{{ item.target }}" href="{{ item.link }}">{{ item.title }}</a>
|
||||
{% include 'partials/menu.twig' with {
|
||||
items: item.children
|
||||
} %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
Reference in New Issue
Block a user