From ecb7569b3c047f6e6845f8a49f6eee3d6762a968 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 6 Jan 2025 03:01:15 +0100 Subject: transfer so partial and defaults --- layouts/404.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'layouts/404.html') diff --git a/layouts/404.html b/layouts/404.html index 2d722bb..d249f23 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -3,35 +3,39 @@ {{ define "main" }}
-

{{ .Title }}

+

{{ .Title }}

-

{{ T "maybe_look" }}

+

{{ T "maybe_look" }}

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

{{ T "recent_pages" }}

-