diff --git a/wowchemy/layouts/404.html b/wowchemy/layouts/404.html index 9373fd1e..9e983030 100644 --- a/wowchemy/layouts/404.html +++ b/wowchemy/layouts/404.html @@ -15,7 +15,7 @@

{{ i18n "404_recommendations" }}

- {{ $query := where (where (where site.Pages.ByDate.Reverse "Title" "!=" "") "Kind" "in" (slice "home" "page" "section")) "Params.private" "!=" true }} + {{ $query := where (where (where site.Pages.ByDate.Reverse "Title" "!=" "") "Kind" "in" (slice "page" "section")) "Params.private" "!=" true }} {{ $count := len $query }} {{ if gt $count 0 }}

{{ i18n "user_profile_latest" }}