prepare for having two sites: personal and research
[web.git] / personal / _includes / menu-level.html
diff --git a/personal/_includes/menu-level.html b/personal/_includes/menu-level.html
new file mode 100644 (file)
index 0000000..03cdc13
--- /dev/null
@@ -0,0 +1,6 @@
+<ul><!--{% for item in include.menu %}
+    --><li class="{{ item.class }}"><a class="{{ item.class }}" href="{% if page.absolute_urls %}{{ site.url }}{% endif %}{{ item.url }}">{{ item.title }}</a></li><!--
+    {% if item.sub %}
+        --><li class="sub">{% include menu-level.html menu=item.sub %}</li><!--
+    {% endif %}
+{% endfor %}--></ul>