From 09639006d90f86536da23887c729181483ca5361 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 23 Sep 2021 10:50:42 +0200 Subject: [PATCH] fix: only mark `weight: 1` as sticky posts (#95) --- layouts/_default/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 7c52bca..90aae1c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -38,7 +38,7 @@ {{ .ReadingTime }} min read - {{ if .Params.weight }} + {{ if eq .Params.weight 1 }}