From d7c8ecab52e2628b8be65d321f8dfaee32865c75 Mon Sep 17 00:00:00 2001 From: Chris Reddington <791642+chrisreddington@users.noreply.github.com> Date: Mon, 19 Jun 2023 15:14:06 +0100 Subject: [PATCH] Popular site bug fix (#130) * Fix for popular site issue * Add limit --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 9ecc721..efc6edf 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -71,7 +71,7 @@

Popular

{{ end }} - {{ range where $.Site.RegularPages "RelPermalink" "in" $popular }} + {{ range (where $.Site.RegularPages "RelPermalink" "in" $popular | first 3) }}