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 ++++++++++++++---------- layouts/_default/author.html | 10 +++++----- layouts/_default/search.html | 24 ++++++++++++++---------- layouts/_default/single.html | 4 ++-- layouts/index.html | 5 +---- layouts/partials/attribution.html | 16 ++++++++-------- layouts/partials/footer.html | 27 ++++++++++----------------- layouts/partials/pagination.html | 6 +++--- layouts/partials/post.html | 2 +- layouts/project/single.html | 12 ++++++------ layouts/taxonomy/terms.html | 8 ++++---- 11 files changed, 68 insertions(+), 70 deletions(-) (limited to 'layouts') 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" }}

-