summaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-15 17:12:28 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-15 17:12:28 +0200
commitdb5d361b777e3669b1169dc8f7f68c89b43e0bd3 (patch)
tree2b25cfa1fae2e296369181a1d82d6351e6cd3c64 /layouts/index.html
parent19c9544e1db6512fbf2dab975f7ec96983854875 (diff)
downloadgohugo-theme-ed-db5d361b777e3669b1169dc8f7f68c89b43e0bd3.tar.gz
Update config format
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 7b54a46..a9c9279 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -16,7 +16,7 @@
</ul>
</div>
{{- else }}
- {{ $paginator := .Paginate (where site.RegularPages "Type" "in" site.Params.main_sections) }}
+ {{ $paginator := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }}
<div class="articles">
{{- range $paginator.Pages }}
{{- .Render "teaser" }}