From d4397dff08a2bed81bbb80b81d4ad2af6c536102 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Tue, 11 Aug 2020 18:14:28 +0800 Subject: [PATCH] Improved the pin for posts (#99). --- _layouts/home.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/home.html b/_layouts/home.html index c4ae342..76c66d5 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -9,7 +9,7 @@ layout: page {% assign pinned = site.posts | where_exp: "item", "item.pin == true" %} -{% assign default = site.posts | where_exp: "item", "item.pin == nil " %} +{% assign default = site.posts | where_exp: "item", "item.pin != true" %} {% assign posts = "" | split: "" %} @@ -51,7 +51,7 @@ layout: page