aboutsummaryrefslogtreecommitdiffstats
path: root/lighweight/templates/menu.html
diff options
context:
space:
mode:
Diffstat (limited to 'lighweight/templates/menu.html')
-rw-r--r--lighweight/templates/menu.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/lighweight/templates/menu.html b/lighweight/templates/menu.html
new file mode 100644
index 0000000..88d5d7a
--- /dev/null
+++ b/lighweight/templates/menu.html
@@ -0,0 +1,9 @@
+<nav id="menu">
+ <a href="{{ SITEURL }}/index.html">Accueil</a>
+ {% if DISPLAY_PAGES_ON_MENU != False%}
+ {% for p in PAGES %}
+ <a {% if p == page %}class="active" {% endif %}href="{{ SITEURL }}/pages/{{ p.url }}">{{ p.title }}</a>
+ {% endfor %}
+ {% endif %}
+
+</nav> <!-- /#nav -->