kpsul/gestioncof/cms/templates/cofcms/base_nav.html
2018-10-14 16:29:26 +02:00

16 lines
451 B
HTML

{% load wagtailcore_tags i18n cofcms_tags %}
<ul class="menu">
{% for item in menu_items %}
<li class="{{ item.active_class }}">
{% if item.link_page %}
<a href="{% pageurl item.link_page.specific %}">
{{ item.link_page.specific.title }}
</a>
{% else %}
<a href="{{ item.href }}">
{{ item.text }}
</a>
{% endif %}
</li>
{% endfor %}
</ul>