diff options
author | Alan Pearce | 2023-04-17 19:59:34 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-17 19:59:34 +0200 |
commit | 72eec2299707881e9e58660467e37b777b51a632 (patch) | |
tree | baab71f6b3e32e5dcce37f1ddfb8767f898b466f /templates/nav.html | |
download | zola-bearblog-72eec2299707881e9e58660467e37b777b51a632.tar.lz zola-bearblog-72eec2299707881e9e58660467e37b777b51a632.tar.zst zola-bearblog-72eec2299707881e9e58660467e37b777b51a632.zip |
Initial commit
Diffstat (limited to 'templates/nav.html')
-rw-r--r-- | templates/nav.html | 6 |
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 %} |