From 253214cbc62a0958bc8b0adbce5e243985dd8cd6 Mon Sep 17 00:00:00 2001
From: budparr <budparr@gmail.com>
Date: Mon, 09 Apr 2018 14:14:13 +0000
Subject: [PATCH] Use paginator
---
layouts/post/list.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/post/list.html b/layouts/post/list.html
index a662ac2..e1a9223 100644
--- a/layouts/post/list.html
+++ b/layouts/post/list.html
@@ -7,7 +7,7 @@
{{ .Content }}
</main>
<section class="flex-ns flex-wrap justify-around mt5">
- {{ range .Pages }}
+ {{ range .Paginator.Pages }}
<div class="relative w-100 w-30-l mb4 bg-white">
{{/*
Note we can use `.Render` here for items just in this section, instead of a partial to pull in items for the list page. https://gohugo.io/functions/render/
--
Gitblit v1.10.0