From 15ec1af44c56ae874b2e9f6b62c657bfc5b1286a 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 fa098d8..8a49047 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -6,7 +6,7 @@ layout: archive

{{ 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 %} -- 2.45.2