summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/posts/list.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index 1bacf24..21f52c1 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -1,10 +1,10 @@
-{{ define "main" }}
+{{- define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
-{{ range .Sections }}
+{{- range .Sections }}
<h2>{{ .Title }}</h2>
<ul>
- {{ range .Pages }}
+ {{- range .Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
<small>
@@ -14,7 +14,7 @@
{{- end }}
</small>
</li>
- {{ end }}
+ {{- end }}
</ul>
- {{ end }}
-{{ end }}
+{{- end }}
+{{- end }}