From 8de5827f96990a83d25bb447d77c82893d4d19aa Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Wed, 14 Mar 2018 19:26:48 -0400 Subject: [PATCH] Sort the Fundamentals links on doc home page by weight Fixes https://github.com/gohugoio/gohugoioTheme/issues/81 --- layouts/page/documentation-home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/page/documentation-home.html b/layouts/page/documentation-home.html index 04b57d4c..249a30e8 100644 --- a/layouts/page/documentation-home.html +++ b/layouts/page/documentation-home.html @@ -1,4 +1,4 @@ {{ define "main" }} -{{ $section_to_display := (.Site.Taxonomies.categories.fundamentals).Pages }} +{{ $section_to_display := (.Site.Taxonomies.categories.fundamentals).Pages.ByWeight }} {{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display ) }} {{ end }}