diff --git a/themes/beautifulhugo/layouts/partials/nav.html b/themes/beautifulhugo/layouts/partials/nav.html index 0c23f802280aa939d2add29e2f5daf32228ce4db..9f120c72d6fbed7696b342dce21f73f6ce3f9e54 100644 --- a/themes/beautifulhugo/layouts/partials/nav.html +++ b/themes/beautifulhugo/layouts/partials/nav.html @@ -84,7 +84,7 @@ {{ if .InSection $section }}id="sidebar-focus"{{end}}>{{ .Title }}</a> <div class="sidebar-pages"> <ul> - {{ range .Pages }} + {{ range .Pages.ByTitle }} <li class="sidebar-page"> <a href="{{ .URL | relLangURL }}">{{ .Name }}</a> </li>