Newer
Older
pre-www / src / layout / partials / sitemap-list.twig
@EcosistemaWebIuav EcosistemaWebIuav on 15 Apr 264 bytes feat: homepage, sitemap, blocco alert,
{% if pages %}
	<ul>
        {% for page in pages %}
            <li>
                <a href="{{page.url}}">{{page.name}}</a>
                {% include "sitemap-list.twig" with {'pages': page.children} %}
            </li>
        {% endfor %}
	</ul>
{% endif %}