From a3e46f757b64f61c1bfd61d8c2d1a4995c1e4e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E4=B8=8B=E6=97=A0=E8=B4=B0?= Date: Sat, 4 Mar 2023 10:53:34 +0800 Subject: [PATCH] Update card_tags.pug --- layout/includes/widget/card_tags.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/includes/widget/card_tags.pug b/layout/includes/widget/card_tags.pug index ed09f39..49296b7 100644 --- a/layout/includes/widget/card_tags.pug +++ b/layout/includes/widget/card_tags.pug @@ -9,6 +9,6 @@ if theme.aside.card_tags.enable - limit = limit === 0 ? 0 : limit || 40 if theme.aside.card_tags.color - .card-tag-cloud!= cloudTags({source: site.tags, orderby: orderby, order: order, minfontsize: 1.15, maxfontsize: 1.45, limit: tagLimit, unit: 'em'}) + .card-tag-cloud!= cloudTags({source: site.tags, orderby: orderby, order: order, minfontsize: 1.15, maxfontsize: 1.45, limit: limit, unit: 'em'}) else .card-tag-cloud!= tagcloud({orderby: orderby, order: order, min_font: 1.1, max_font: 1.5, amount: limit , color: true, start_color: '#999', end_color: '#99a9bf', unit: 'em'})