summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/list.html
diff options
context:
space:
mode:
authorbreadcat2020-08-16 12:41:08 +0100
committerbreadcat2020-08-16 12:41:08 +0100
commitc29fde8a7e061a93496d71cddef19643b45c8aa3 (patch)
tree924b81cbda8648eb40f79fa8e262b02b2e618dfc /themes/Brine/layouts/_default/list.html
parenta294a7de510a91edd4a02eafc3457d28e94941a7 (diff)
downloadblog.minskio.co.uk-c29fde8a7e061a93496d71cddef19643b45c8aa3.tar.gz
blog.minskio.co.uk-c29fde8a7e061a93496d71cddef19643b45c8aa3.tar.bz2
blog.minskio.co.uk-c29fde8a7e061a93496d71cddef19643b45c8aa3.zip
Help with --minify
Not sure why pagination insists on preserving whitespace, but don't feel like diagnosing. This fixes it
Diffstat (limited to 'themes/Brine/layouts/_default/list.html')
-rw-r--r--themes/Brine/layouts/_default/list.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/themes/Brine/layouts/_default/list.html b/themes/Brine/layouts/_default/list.html
index 0908d28..8cc2549 100644
--- a/themes/Brine/layouts/_default/list.html
+++ b/themes/Brine/layouts/_default/list.html
@@ -1,5 +1,4 @@
{{ define "main" }} <h1>{{ .Title }}</h1>
- <ul>{{ $paginator := .Paginate (where .Site.RegularPages.ByDate.Reverse "Section" "posts") }}{{ range $paginator.Pages }}
+ <ul>{{ $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" $ }}{{ end }}
+ </ul>{{ partial "pagination.html" $ }}{{ end }} \ No newline at end of file