Skip to content
Snippets Groups Projects
Verified Commit 57df162c authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add menu generation.

parent 915d4ada
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,17 @@ ...@@ -13,6 +13,17 @@
<p id="subtitle">Free Software Fellow, Education Enthusiast, sozialliberal</p> <p id="subtitle">Free Software Fellow, Education Enthusiast, sozialliberal</p>
</div> </div>
<div id="menu"> <div id="menu">
<ul>
{% if DISPLAY_PAGES_ON_MENU %}
{% for p in pages | sort(attribute=PAGES_SORT_ATTRIBUTE) %}
{% if p.url %}
<li class="{{ p.slug }}{% if p == page %} current{% endif %}">
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.menulabel|default(p.title) }}</a>
</li>
{% endif %}
{% endfor %}
{% endif %}
</ul>
</div> </div>
<div id="page"> <div id="page">
{% block content %}{% endblock %} {% block content %}{% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment