From c3c634f93e0b7e071d81b4c9307d15a1fd3d1acb Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Mon, 18 May 2020 19:12:57 +0000
Subject: [PATCH] Merge branch 'master' of https://github.com/lxndrblz/anatole
---
layouts/index.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index 7c40447..e7f7e71 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,5 +1,5 @@
{{ define "main" }}
- {{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }}
+ {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }}
<div class="post animated fadeInDown">
<div class="post-title">
@@ -25,4 +25,4 @@
<div class="pagination">
{{ template "_internal/pagination.html" . }}
</div>
-{{ end }}
\ No newline at end of file
+{{ end }}
--
Gitblit v1.10.0