|
@@ -15,7 +15,7 @@
|
|
|
|
|
|
<p>{{ i18n "404_recommendations" }}</p>
|
|
<p>{{ i18n "404_recommendations" }}</p>
|
|
|
|
|
|
- {{ $query := where (where (where site.Pages.ByDate.Reverse "Title" "!=" "") "Kind" "in" (slice "page" "section")) "Params.private" "!=" true }}
|
|
|
|
|
|
+ {{ $query := where (where (where (where site.Pages.ByDate.Reverse "Title" "!=" "") "Kind" "in" (slice "page" "section")) "Params.private" "!=" true) "Permalink" "!=" "" }}
|
|
{{ $count := len $query }}
|
|
{{ $count := len $query }}
|
|
{{ if gt $count 0 }}
|
|
{{ if gt $count 0 }}
|
|
<h2>{{ i18n "user_profile_latest" }}</h2>
|
|
<h2>{{ i18n "user_profile_latest" }}</h2>
|