From cd3abbf18889b808be03dcf41a7a0c699c979124 Mon Sep 17 00:00:00 2001 From: Jean Date: Thu, 20 Mar 2025 20:04:44 -0700 Subject: [PATCH] Removing title from TOC, fixes #19 --- package.json | 11 ++++++++--- post.hbs | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 01b9a2c9..32ced1b1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bifocal", "description": "A Ghost theme, based on Solo", - "version": "1.0.1", + "version": "1.0.3", "private": true, "engines": { "ghost": ">=5.0.0" @@ -43,7 +43,11 @@ "custom": { "navigation_layout": { "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" }, "primary_header": { @@ -99,5 +103,6 @@ "postcss": "8.4.38", "postcss-easy-import": "4.0.0", "pump": "3.0.0" - } + }, + "dependencies": {} } diff --git a/post.hbs b/post.hbs index 80b6e8f9..fa17cf7f 100644 --- a/post.hbs +++ b/post.hbs @@ -47,7 +47,7 @@ tocbot.init({ tocSelector: '.gh-toc', contentSelector: '.gh-content', - headingSelector: 'h1, h2', + headingSelector: 'h2', hasInnerContainers: true, });