From f9160e4b98a7e3cfa18ff8c1af0592d215200a80 Mon Sep 17 00:00:00 2001 From: kbe Date: Thu, 21 Aug 2025 01:54:33 +0200 Subject: [PATCH] Changed footer --- layouts/pages/list.html | 56 -------------------------- layouts/partials/footer.html | 78 ++++++++++++++++++++++-------------- layouts/partials/header.html | 3 -- 3 files changed, 48 insertions(+), 89 deletions(-) delete mode 100644 layouts/pages/list.html diff --git a/layouts/pages/list.html b/layouts/pages/list.html deleted file mode 100644 index 669dad1..0000000 --- a/layouts/pages/list.html +++ /dev/null @@ -1,56 +0,0 @@ -{{ define "main" }} -{{ $authorName := .Params.author }} -{{ $authorSlug := .Params.author_slug }} -{{ $authorPosts := where .Site.RegularPages "Params.author" $authorName }} - -
-
-

{{ .Title }}

-

Retrouvez toutes les pages utiles du site ici.

-
-
- - -
-
-
-
- {{ $paginationLimit := 10 }} - {{ if .Site.Params.paginationLimit }}{{ $paginationLimit = .Site.Params.paginationLimit }}{{ end }} - {{ $paginator := .Paginate $authorPosts $paginationLimit }} - - {{ if gt (len $authorPosts) 0 }} - {{ range $paginator.Pages }} - -
-
-

{{ .Title }}

- {{ if .Params.excerpt }} -

{{ .Params.excerpt }}

- {{ else if .Summary }} -

{{ .Summary }}

- {{ else }} -

{{ truncate 200 .Content }}

- {{ end }} - -
-
- - {{ end }} - - - {{ partial "pagination.html" (dict "Paginator" .Paginator "Page" .) }} - {{ else }} -
-

Aucun article trouvé

-

Aucun article n'a été trouvé pour cet auteur.

-
- {{ end }} -
-
-
-
- -{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0efd3ea..bba40fc 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,40 +1,58 @@ diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2f4c2a1..41e3786 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -32,9 +32,6 @@ -