From 82a71a59f26f6e2d7ef4fd32b410c58558f82759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?iBug=20=E2=99=A6?= Date: Sun, 26 Jan 2020 00:14:29 +0800 Subject: [PATCH] Fix compatibility issue with paginate V2 introduced by mmistakes/minimal-mistakes#2378 (#2381) --- _layouts/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/home.html b/_layouts/home.html index fa098d871f9e..8a49047ecae9 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -6,7 +6,7 @@

{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}

-{% if site.paginate %} +{% if paginator %} {% assign posts = paginator.posts %} {% else %} {% assign posts = site.posts %}