diff options
author | Jeff Mixon <jeff.mixon@gmail.com> | 2021-01-29 01:18:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 01:18:01 +0300 |
commit | e54496af94be3940dbee79b0c347287af61882f8 (patch) | |
tree | 87f40c9fdeb305213d3e456253fb3ea640140897 | |
parent | 077a55ee2661cc9a6f189ed366bb39ccc1f26882 (diff) |
fix: do not require a menu (#95)
Closes #72
-rw-r--r-- | layouts/partials/main_menu.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/main_menu.html b/layouts/partials/main_menu.html index 7c466e0..e485f8a 100644 --- a/layouts/partials/main_menu.html +++ b/layouts/partials/main_menu.html @@ -1,5 +1,7 @@ +{{ with .Site.Menus.main }} <section id="main-menu-pane" class="text-center main-menu"> {{ range sort .Site.Menus.main }} <h4><a class="menu-item" href="{{ .URL }}">{{ .Name | lower }}</a></h4> {{ end }} </section> +{{ end }} |