From 1d22c9ca2c59e6c78d3e24092bf098b25a9062bd Mon Sep 17 00:00:00 2001 From: matt6697 <32440697+matt6697@users.noreply.github.com> Date: Mon, 13 Sep 2021 19:04:27 +0200 Subject: Avoid duplicates cards between featured and non featured parts of a blog page. --- 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 2da07b8..2e03aeb 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -22,7 +22,7 @@ {{ end }} - {{ $paginator := .Paginate .Data.Pages }} + {{ $paginator := .Paginate (where .Data.Pages "Type" "!=" "featured") }} {{ range $paginator.Pages }}
-- cgit v1.2.3