diff options
author | breadcat | 2020-11-10 20:05:31 +0000 |
---|---|---|
committer | breadcat | 2020-11-10 20:05:31 +0000 |
commit | 0e7154c01c816ed716470eb170a1992bab3a831c (patch) | |
tree | 409abe45f46e69b0ecca5227cc155e8d0b5ee22c /themes | |
parent | a40675b396f4c971867fb4cfdc03b8f4b3866d05 (diff) | |
download | blog.minskio.co.uk-0e7154c01c816ed716470eb170a1992bab3a831c.tar.gz blog.minskio.co.uk-0e7154c01c816ed716470eb170a1992bab3a831c.tar.bz2 blog.minskio.co.uk-0e7154c01c816ed716470eb170a1992bab3a831c.zip |
Fixes broken pagination on tags pages
Diffstat (limited to 'themes')
-rw-r--r-- | themes/Brine/layouts/_default/list.html | 5 |
1 files changed, 3 insertions, 2 deletions
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 }} <li><h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li>{{ end }} + </ul>{{ partial "pagination.html" $ }} {{ else }} {{ range .Pages.ByDate.Reverse }} <li><h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li> {{ end }} + </ul> {{ end }} -</ul>{{ partial "pagination.html" $ }}{{ end }} - +{{ end }}
\ No newline at end of file |