From 861b48ad0ff31e9b2bee50f2a87925820daac9f5 Mon Sep 17 00:00:00 2001 From: Hylke Visser Date: Fri, 16 Aug 2019 15:18:47 +0200 Subject: Fix homepage for Hugo v0.57.0+ Closes #24 --- images/screenshot.png | Bin 70718 -> 136700 bytes images/tn.png | Bin 107404 -> 69551 bytes layouts/partials/homepage.html | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/images/screenshot.png b/images/screenshot.png index 1c5fff5..c16777f 100644 Binary files a/images/screenshot.png and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png index 9ea329a..8e7e54a 100644 Binary files a/images/tn.png and b/images/tn.png differ diff --git a/layouts/partials/homepage.html b/layouts/partials/homepage.html index dafb303..2dcfec7 100644 --- a/layouts/partials/homepage.html +++ b/layouts/partials/homepage.html @@ -5,7 +5,7 @@

Recent Posts

- {{ $paginator := .Paginate (where .Data.Pages "Section" "post") (or .Site.Params.paginate 3) }} + {{ $paginator := .Paginate (where .Site.RegularPages "Section" "post") (or .Site.Params.paginate 3) }}
{{ range $paginator.Pages }} {{ partial "article-list-item.html" . }} -- cgit v1.2.3