diff --git a/modules/blox/layouts/404.html b/modules/blox/layouts/404.html index bbacc5a81..0c02a418e 100644 --- a/modules/blox/layouts/404.html +++ b/modules/blox/layouts/404.html @@ -8,7 +8,7 @@

{{ i18n "page_not_found" }}

{{ i18n "404_recommendations" }}

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

{{ i18n "user_profile_latest" }}