aboutsummaryrefslogtreecommitdiff
path: root/theme/bulma/templates/partial/nav.html
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2024-06-19 14:44:10 +0200
committerSébastien Dailly <sebastien@dailly.me>2024-06-19 14:44:10 +0200
commite0a989555b6bef9173088da9e0b980338a88ce0c (patch)
tree3e35bc65664e881d62cf14970d482884b80289f7 /theme/bulma/templates/partial/nav.html
parent3b3c4db1bdd29b46a23051fc5427197ce2831764 (diff)
Swiched the theme to bulma-css
Diffstat (limited to 'theme/bulma/templates/partial/nav.html')
-rw-r--r--theme/bulma/templates/partial/nav.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/theme/bulma/templates/partial/nav.html b/theme/bulma/templates/partial/nav.html
new file mode 100644
index 0000000..a037522
--- /dev/null
+++ b/theme/bulma/templates/partial/nav.html
@@ -0,0 +1,17 @@
+{% if MAIN_MENU %}
+<nav class="column is-3">
+ <a href="{{ SITEURL }}/">{{ _('Home') }}</a>
+
+ {% for title, link in MENUITEMS %}
+ <a href="{{ link }}">{{ _(title) }}</a>
+ {% endfor %}
+
+ {% if FEED_ALL_ATOM %}
+ <a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">{{ _('Atom') }}</a>
+ {% endif %}
+
+ {% if FEED_ALL_RSS %}
+ <a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}">{{ _('RSS') }}</a>
+ {% endif %}
+</nav>
+{% endif %}