Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/persian-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 da481d7..d6a223c 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -3,7 +3,7 @@
<section class="section pt-0">
<div class="container-fluid">
<div class="row">
- {{ $paginator := .Paginate (where .Site.RegularPages "Section" "post") }}
+ {{ $paginator := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }}
{{ range $index,$elements:= $paginator.Pages }}
{{ if eq $index 0}}
<div class="col-12 mb-4">