From 2f10b290a8babdb253562bd18ae92e1818e7be34 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Fri, 15 May 2020 13:39:30 +0000
Subject: [PATCH] Fix Pagination 📖

---
 layouts/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/index.html b/layouts/index.html
index 75ee6e1..7c40447 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,5 +1,5 @@
 {{ define "main" }}
-  {{ $paginator := .Paginate (where .Pages "Type" "post") }}
+  {{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }}
   {{ range $paginator.Pages }}
   <div class="post animated fadeInDown">
     <div class="post-title">

--
Gitblit v1.10.0