diff --git a/layouts/partials/nav_pages.html b/layouts/partials/nav_pages.html index 53c6b28..cc604a0 100644 --- a/layouts/partials/nav_pages.html +++ b/layouts/partials/nav_pages.html @@ -1,8 +1,7 @@ {{ $home := .Site.GetPage "home" }} -{{ $sections := where (where .Site.Pages.ByTitle "Kind" "section") "Parent.File.UniqueID" $home.File.UniqueID }} {{ $pages := where .Site.RegularPages.ByTitle "Section" "" }} -{{ $nav_pages := union $pages $sections }} +{{ $nav_pages := union $pages .Site.Sections }} {{ range sort $nav_pages "LinkTitle" }}