about summary refs log tree commit diff stats
path: root/templates/nav.html
diff options
context:
space:
mode:
authorAlan Pearce2023-04-17 19:59:34 +0200
committerAlan Pearce2023-04-17 19:59:34 +0200
commit72eec2299707881e9e58660467e37b777b51a632 (patch)
treebaab71f6b3e32e5dcce37f1ddfb8767f898b466f /templates/nav.html
downloadwebsite-72eec2299707881e9e58660467e37b777b51a632.tar.lz
website-72eec2299707881e9e58660467e37b777b51a632.tar.zst
website-72eec2299707881e9e58660467e37b777b51a632.zip
Initial commit
Diffstat (limited to 'templates/nav.html')
-rw-r--r--templates/nav.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/nav.html b/templates/nav.html
new file mode 100644
index 0000000..135e407
--- /dev/null
+++ b/templates/nav.html
@@ -0,0 +1,6 @@
+<a href="{{ config.base_url }}">Home</a>
+{%- if config.extra.main_menu %}
+{%- for item in config.extra.main_menu %}
+<a href="{{ get_url(path=item.url )}}">{{ item.name }}</a>
+{%- endfor %}
+{%- endif %}