summaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authoramzrk22020-04-15 16:19:19 +0800
committeramzrk22020-04-15 16:19:19 +0800
commitb4e6be8688ec5b41e27c3d0977a5831315740f32 (patch)
treed4e514c3de0a09cac11ca99152446d3001e5554b /layouts/index.html
parentedb8d453c866afcfc841e744535015f6d139a7cd (diff)
downloadhugo-theme-fuji-b4e6be8688ec5b41e27c3d0977a5831315740f32.tar.gz
hugo-theme-fuji-b4e6be8688ec5b41e27c3d0977a5831315740f32.tar.bz2
hugo-theme-fuji-b4e6be8688ec5b41e27c3d0977a5831315740f32.zip
Remove taxonomyTerm using disableKinds
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 ddc93f1..ef083bc 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -4,7 +4,7 @@
<!-- list -->
<div class="col-md-9 col-12 float-left" id="content">
<!-- homepage range in posts -->
- {{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }}
+ {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }}
<div id="post">
<h2 id="post-title">