aboutsummaryrefslogtreecommitdiff
path: root/templates/partials/nav.html
diff options
context:
space:
mode:
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 %}