aboutsummaryrefslogtreecommitdiff
path: root/templates/partials/nav.html
diff options
context:
space:
mode:
authorfoswret <foswret@posteo.com>2026-03-22 12:54:35 -0500
committerfoswret <foswret@posteo.com>2026-03-22 12:54:35 -0500
commit73b06c31b505d1a0f2e4035c7daab0df49a25d3b (patch)
tree778e996fcf635de175ae03d91e8353db5a364e29 /templates/partials/nav.html
parentd300415652d513a54c214c894e996036d2c999ce (diff)
implement basic nav bar
Diffstat (limited to 'templates/partials/nav.html')
-rw-r--r--templates/partials/nav.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/partials/nav.html b/templates/partials/nav.html
new file mode 100644
index 0000000..f8c0eff
--- /dev/null
+++ b/templates/partials/nav.html
@@ -0,0 +1,7 @@
+{% if config.extra.navbar_items %}
+{% for item in config.extra.navbar_items %}
+<nav>
+ <a href="{{ get_url(path=item.url) }}">{{ item.name }}</a>
+</nav>
+{% endfor %}
+{% endif %}