Removing title from TOC, fixes #19

This commit is contained in:
Jean Viscogliosi-Pate 2025-03-20 20:04:44 -07:00
parent a685e4c2a7
commit cd3abbf188
2 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "bifocal", "name": "bifocal",
"description": "A Ghost theme, based on Solo", "description": "A Ghost theme, based on Solo",
"version": "1.0.1", "version": "1.0.3",
"private": true, "private": true,
"engines": { "engines": {
"ghost": ">=5.0.0" "ghost": ">=5.0.0"
@ -43,7 +43,11 @@
"custom": { "custom": {
"navigation_layout": { "navigation_layout": {
"type": "select", "type": "select",
"options": ["Logo on the left", "Logo in the middle", "Stacked"], "options": [
"Logo on the left",
"Logo in the middle",
"Stacked"
],
"default": "Logo on the left" "default": "Logo on the left"
}, },
"primary_header": { "primary_header": {
@ -99,5 +103,6 @@
"postcss": "8.4.38", "postcss": "8.4.38",
"postcss-easy-import": "4.0.0", "postcss-easy-import": "4.0.0",
"pump": "3.0.0" "pump": "3.0.0"
} },
"dependencies": {}
} }

View File

@ -47,7 +47,7 @@
tocbot.init({ tocbot.init({
tocSelector: '.gh-toc', tocSelector: '.gh-toc',
contentSelector: '.gh-content', contentSelector: '.gh-content',
headingSelector: 'h1, h2', headingSelector: 'h2',
hasInnerContainers: true, hasInnerContainers: true,
}); });
</script> </script>