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.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/main_menu.html b/layouts/partials/main_menu.html
index e485f8a..3258080 100644
--- a/layouts/partials/main_menu.html
+++ b/layouts/partials/main_menu.html
@@ -1,7 +1,7 @@
{{ with .Site.Menus.main }}
<section id="main-menu-pane" class="text-center main-menu">
- {{ range sort .Site.Menus.main }}
+ {{ range sort . }}
<h4><a class="menu-item" href="{{ .URL }}">{{ .Name | lower }}</a></h4>
{{ end }}
</section>
-{{ end }}
+{{ end }} \ No newline at end of file