summaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index c82855c..70bdad1 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -7,11 +7,15 @@
<hr>
{{ partial "mini-toc" . }}
{{ else }}
- {{- $mainSections := site.Params.mainSections | default (slice "posts") }}
+ {{ $mainSections := site.Params.mainSections | default (slice "posts") }}
{{ $paginator := .Paginate (where site.RegularPages.ByDate.Reverse "Section" "in" $mainSections) }}
<div class="articles">
{{ with .Title }}<h1 class="page-title">{{ . }}</h1>{{ end }}
- {{ range $paginator.Pages }}{{- .Render "teaser" }}{{ end }}
+
+ {{ range $paginator.Pages }}
+ {{ .Render "teaser" }}
+ {{ end }}
</div>
{{ end }}
+
{{ end }}