From e3ba726f493dcb9b26dbff68806e220468cb6156 Mon Sep 17 00:00:00 2001 From: Fabian Ecke Date: Thu, 18 Jul 2024 00:02:11 +0200 Subject: [PATCH] . --- themes/tella/layouts/partials/header.html | 4 ++-- themes/tella/layouts/partials/paginator.html | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/themes/tella/layouts/partials/header.html b/themes/tella/layouts/partials/header.html index d9d4798..6022457 100644 --- a/themes/tella/layouts/partials/header.html +++ b/themes/tella/layouts/partials/header.html @@ -1,4 +1,4 @@ -
+ diff --git a/themes/tella/layouts/partials/paginator.html b/themes/tella/layouts/partials/paginator.html index 6a81efd..cc0fb26 100644 --- a/themes/tella/layouts/partials/paginator.html +++ b/themes/tella/layouts/partials/paginator.html @@ -1,8 +1,8 @@ - {{ if and (ne $pag.PageNumber 1) (ne $pag.PageNumber 2) }}
  • First @@ -17,18 +17,18 @@ {{ range $pag.Pagers }} {{ if eq . $pag }} - +
  • {{ .PageNumber }}
  • {{ else if and (ge .PageNumber (sub $pag.PageNumber 2)) (le .PageNumber (add $pag.PageNumber 2)) }} {{ $.Scratch.Set "dot_rendered" false }} - +
  • {{ .PageNumber }}
  • {{ else if eq ($.Scratch.Get "dot_rendered") false }} - + {{ $.Scratch.Set "dot_rendered" true }}
  • Last @@ -50,4 +50,4 @@ {{ end }} -{{ end }} --> \ No newline at end of file +{{ end }} \ No newline at end of file