summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'themes/Brine/layouts')
-rw-r--r--themes/Brine/layouts/_default/list.html5
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