From 91d285391d4d3788ee8d7e07a041bbc1a0b8751b Mon Sep 17 00:00:00 2001 From: Jerry <16351105+jerryc127@users.noreply.github.com> Date: Mon, 27 Apr 2020 14:44:25 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=BE=A9tags=E9=A0=81?= =?UTF-8?q?=E6=A8=99=E7=B1=A4=E5=8F=AA=E9=A1=AF=E7=A4=BA8=E5=80=8B?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/helpers/page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helpers/page.js b/scripts/helpers/page.js index d877e28..74e7674 100644 --- a/scripts/helpers/page.js +++ b/scripts/helpers/page.js @@ -36,7 +36,7 @@ hexo.extend.helper.register('cloudTags', function (options = {}) { const source = options.source const minfontsize = options.minfontsize const maxfontsize = options.maxfontsize - const limit = options.limit || 8 + const limit = options.limit let result = '' const tagLimit = limit === 0 ? source.length : limit