mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-03 22:22:00 +08:00
🐛 修復tags頁標籤只顯示8個的bug
This commit is contained in:
1 parent
92111f3c32
commit
91d285391d
1 file changed
+1
-1
@@ -36,7 +36,7 @@ hexo.extend.helper.register('cloudTags', function (options = {}) {
|
|||||||
const source = options.source
|
const source = options.source
|
||||||
const minfontsize = options.minfontsize
|
const minfontsize = options.minfontsize
|
||||||
const maxfontsize = options.maxfontsize
|
const maxfontsize = options.maxfontsize
|
||||||
const limit = options.limit || 8
|
const limit = options.limit
|
||||||
|
|
||||||
let result = ''
|
let result = ''
|
||||||
const tagLimit = limit === 0 ? source.length : limit
|
const tagLimit = limit === 0 ? source.length : limit
|
||||||
|
|||||||
Reference in new issue
Block a user