🐛 修復tags頁標籤只顯示8個的bug

This commit is contained in:
Jerry 2020-04-27 14:44:25 +08:00
parent 92111f3c32
commit 91d285391d

View File

@ -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