diff options
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 %} |