summaryrefslogtreecommitdiffstats
path: root/templates/combo/menu.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/combo/menu.html')
-rw-r--r--templates/combo/menu.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/combo/menu.html b/templates/combo/menu.html
new file mode 100644
index 0000000..ef87c57
--- /dev/null
+++ b/templates/combo/menu.html
@@ -0,0 +1,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 %}