diff options
Diffstat (limited to 'lightweight/templates/menu.html')
-rw-r--r-- | lightweight/templates/menu.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lightweight/templates/menu.html b/lightweight/templates/menu.html new file mode 100644 index 0000000..88d5d7a --- /dev/null +++ b/lightweight/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 --> |