aboutsummaryrefslogtreecommitdiffstats
path: root/lighweight/templates/menu.html
diff options
context:
space:
mode:
authorskami <skami@skami-laptop.dyndns.org>2011-02-13 20:21:01 +0100
committerskami <skami@skami-laptop.dyndns.org>2011-02-13 20:21:01 +0100
commit079da3ce990ccc101b58fe1b5ded8342d52244a6 (patch)
tree884105ee18236990e0a0d24cb02ecdc20f5d47b5 /lighweight/templates/menu.html
parent4de1596e020f297b18281d39d03753e5a1215aeb (diff)
downloadpelican-themes-079da3ce990ccc101b58fe1b5ded8342d52244a6.tar.gz
Ajout du thème «lightweight»
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 -->