mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
优化:目录支持显示6级标题
This commit is contained in:
parent
9effa36768
commit
ab3f936fb2
@ -191,7 +191,7 @@ window.tocPjax = function () {
|
|||||||
})
|
})
|
||||||
observers.splice(0)
|
observers.splice(0)
|
||||||
Btoc.init({
|
Btoc.init({
|
||||||
tocList: ['h1', 'h2', 'h3', 'h4', 'h5'],
|
tocList: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
|
||||||
contentElement: $('.main-content:not(.not-toc)')[0],
|
contentElement: $('.main-content:not(.not-toc)')[0],
|
||||||
tocElement: '.toc-content'
|
tocElement: '.toc-content'
|
||||||
})
|
})
|
||||||
|
@ -22,6 +22,6 @@ spec:
|
|||||||
settingName: theme-dream-setting
|
settingName: theme-dream-setting
|
||||||
configMapName: theme-dream-configMap
|
configMapName: theme-dream-configMap
|
||||||
# 版本号
|
# 版本号
|
||||||
version: 1.3.0.50
|
version: 1.3.0.5000001
|
||||||
# 最低支持的 Halo 版本
|
# 最低支持的 Halo 版本
|
||||||
require: ">=2.0.0"
|
require: ">=2.0.0"
|
Loading…
x
Reference in New Issue
Block a user