Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/shenoybr/hugo-goa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/main_menu.html2
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 }}