mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 22:32:41 +00:00
Disable Global ToC Snippet
This commit is contained in:
@@ -157,24 +157,27 @@ module.exports = [
|
||||
{
|
||||
name : 'Table of Contents Toggles',
|
||||
icon : 'fas fa-book',
|
||||
gen : `{{tocGlobalH4}}\n\n`,
|
||||
subsnippets : [
|
||||
{
|
||||
name : 'Enable H1-H4 all pages',
|
||||
icon : 'fas fa-dice-four',
|
||||
gen : `{{tocGlobalH4}}\n\n`,
|
||||
},
|
||||
{
|
||||
name : 'Enable H1-H5 all pages',
|
||||
icon : 'fas fa-dice-five',
|
||||
gen : `{{tocGlobalH5}}\n\n`,
|
||||
},
|
||||
{
|
||||
name : 'Enable H1-H6 all pages',
|
||||
icon : 'fas fa-dice-six',
|
||||
gen : `{{tocGlobalH6}}\n\n`,
|
||||
},
|
||||
]
|
||||
//gen : `{{tocGlobalH4}}\n\n`,
|
||||
disabled : true
|
||||
// RELIES ON .PAGES:HAS() WHICH IS VERY SLOW
|
||||
// WILL BE MOVED TO STYLE TAB SNIPPETS
|
||||
// subsnippets : [
|
||||
// {
|
||||
// name : 'Enable H1-H4 all pages',
|
||||
// icon : 'fas fa-dice-four',
|
||||
// gen : `{{tocGlobalH4}}\n\n`,
|
||||
// },
|
||||
// {
|
||||
// name : 'Enable H1-H5 all pages',
|
||||
// icon : 'fas fa-dice-five',
|
||||
// gen : `{{tocGlobalH5}}\n\n`,
|
||||
// },
|
||||
// {
|
||||
// name : 'Enable H1-H6 all pages',
|
||||
// icon : 'fas fa-dice-six',
|
||||
// gen : `{{tocGlobalH6}}\n\n`,
|
||||
// },
|
||||
// ]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user