diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 4006aba..f4b2134 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,7 +10,7 @@ {{ end }}
- {{ range .Pages.ByTitle }} + {{ range where .Pages.ByTitle "Params.show_in_nav" "!=" "false" }} {{ partial "box.html" . }} {{ end }}
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 842cb51..ac1fbae 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -7,7 +7,7 @@ {{ .LinkTitle }} {{ if .Pages }}