From 253214cbc62a0958bc8b0adbce5e243985dd8cd6 Mon Sep 17 00:00:00 2001 From: budparr Date: Mon, 9 Apr 2018 10:14:13 -0400 Subject: [PATCH] Use paginator --- layouts/post/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}
- {{ range .Pages }} + {{ range .Paginator.Pages }}
{{/* 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/