From f2599edda9bb2a2bcd1fe6a668c044913f5e8354 Mon Sep 17 00:00:00 2001 From: Razon Yang Date: Sat, 16 Dec 2023 16:45:15 +0800 Subject: [PATCH] fix: correct limit and count options (#557) --- layouts/partials/hb/modules/blog/taxonomies/default.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/hb/modules/blog/taxonomies/default.html b/layouts/partials/hb/modules/blog/taxonomies/default.html index 16992b6f..411e65de 100644 --- a/layouts/partials/hb/modules/blog/taxonomies/default.html +++ b/layouts/partials/hb/modules/blog/taxonomies/default.html @@ -1,6 +1,6 @@ +{{- $limit := default 10 .limit }} +{{- $count := default true .count }} {{- range $name, $taxonomy := site.Taxonomies }} - {{- $limit := 10 }} - {{- $count := true }} {{- $idx := 0 }}
{{- with site.GetPage $name }}