summaryrefslogtreecommitdiffstats
path: root/templates/combo/menu.html
blob: ef87c575fed5e0859337242491d9db38f3de93ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% load combo %}
{% if menuitems %}
<ul>
{% for menuitem in menuitems %}
<li class="menu-{{ menuitem.page.slug }} {% if menuitem.selected %}selected{% endif %}"><a
  href="{{ menuitem.page.get_online_url }}">{{ menuitem.page.title }}</a>
  {% if depth > 1 %}
    {% show_menu current_page=menuitem.page level=-1 depth=depth reduce_depth=True %}
  {% endif %}
</li>
{% endfor %}
</ul>
{% endif %}