summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-04-18 11:22:33 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-04-18 20:49:18 +0200
commita190487ef793aeeb0937322cf98383b7505b5ceb (patch)
treeed570406d9b352324c5d8b3a7ed60c84183ada2f /layouts/_default/list.html
parent04c13d8007efe2597cad3fe24436368bed73bf1f (diff)
Add a cookbook section
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index a9698f8..6ba66fc 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,11 +1,11 @@
-{{ define "main" }}
+{{- define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
<ul>
- {{ range .Paginator.Pages }}
+ {{- range .Paginator.Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
- {{ end }}
+ {{- end }}
</ul>
-{{ end }}
+{{- end }}