diff options
Diffstat (limited to 'lightweight/templates/menu.html')
-rw-r--r-- | lightweight/templates/menu.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lightweight/templates/menu.html b/lightweight/templates/menu.html new file mode 100644 index 0000000..9a9d011 --- /dev/null +++ b/lightweight/templates/menu.html @@ -0,0 +1,13 @@ +<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 %} + {% else %} + <a href="{{ SITEURL }}/categories.html">Catégories</a> + <a href="{{ SITEURL }}/tags.html">Mots-clés</a> + {% endif %} + <a href="{{ SITEURL }}/archives.html">Archives</a> + +</nav> <!-- /#nav --> |