From 0e7154c01c816ed716470eb170a1992bab3a831c Mon Sep 17 00:00:00 2001 From: breadcat Date: Tue, 10 Nov 2020 20:05:31 +0000 Subject: Fixes broken pagination on tags pages --- themes/Brine/layouts/_default/list.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'themes/Brine/layouts') diff --git a/themes/Brine/layouts/_default/list.html b/themes/Brine/layouts/_default/list.html index f832443..6f79345 100644 --- a/themes/Brine/layouts/_default/list.html +++ b/themes/Brine/layouts/_default/list.html @@ -3,10 +3,11 @@ {{ if .IsHome }} {{ $paginator := .Paginate (where .Site.RegularPages.ByDate.Reverse "Section" "posts") }}{{ range $paginator.Pages }}
  • {{ .Title }}

    {{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read
  • {{ end }} + {{ partial "pagination.html" $ }} {{ else }} {{ range .Pages.ByDate.Reverse }}
  • {{ .Title }}

    {{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read
  • {{ end }} + {{ end }} -{{ partial "pagination.html" $ }}{{ end }} - +{{ end }} \ No newline at end of file -- cgit v1.2.3