aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-15 14:14:06 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-15 14:14:06 +0200
commitf797661650869f7639b6c60ef9a0703e0f3c3769 (patch)
tree47990711fc609ac2d9a9a3051fd87c86477e0a5e /layouts/index.html
parentf32442d10052821726204ad95585882aa1807d77 (diff)
downloadhugo-minimalist-theme-f797661650869f7639b6c60ef9a0703e0f3c3769.tar.gz
hugo-minimalist-theme-f797661650869f7639b6c60ef9a0703e0f3c3769.tar.bz2
hugo-minimalist-theme-f797661650869f7639b6c60ef9a0703e0f3c3769.zip
including pagination
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 5d3350c..64edb68 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -3,9 +3,9 @@
<!-- Note that .Data.Pages is the equivalent of .Site.Pages on the homepage template. -->
{{ $paginator := .Paginate (where .Data.Pages "Section" "post") }}
- {{ partial "pagination.html" . }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
+ {{ partial "pagination.html" . }}
</div>
{{ end }}