diff --git a/kjvstudy_org/templates/biblical_angels.html b/kjvstudy_org/templates/biblical_angels.html index 764732a..4e089c2 100644 --- a/kjvstudy_org/templates/biblical_angels.html +++ b/kjvstudy_org/templates/biblical_angels.html @@ -213,7 +213,7 @@ document.addEventListener('DOMContentLoaded', function() { // Generate TOC from h2 and h3 headings const tocList = document.getElementById('toc-list'); - const headings = document.querySelectorAll('section h2, section h3'); + const headings = document.querySelectorAll('section h2, section h3, section article h3'); headings.forEach((heading, index) => { // Create an ID for the heading if it doesn't have one diff --git a/kjvstudy_org/templates/biblical_prophets.html b/kjvstudy_org/templates/biblical_prophets.html index 98e55ce..64f7c52 100644 --- a/kjvstudy_org/templates/biblical_prophets.html +++ b/kjvstudy_org/templates/biblical_prophets.html @@ -209,7 +209,7 @@ document.addEventListener('DOMContentLoaded', function() { // Generate TOC from h2 and h3 headings const tocList = document.getElementById('toc-list'); - const headings = document.querySelectorAll('section h2, section h3'); + const headings = document.querySelectorAll('section h2, section h3, section article h3'); headings.forEach((heading, index) => { // Create an ID for the heading if it doesn't have one diff --git a/kjvstudy_org/templates/names_of_god.html b/kjvstudy_org/templates/names_of_god.html index 908ed45..c4f2354 100644 --- a/kjvstudy_org/templates/names_of_god.html +++ b/kjvstudy_org/templates/names_of_god.html @@ -209,7 +209,7 @@ document.addEventListener('DOMContentLoaded', function() { // Generate TOC from h2 and h3 headings const tocList = document.getElementById('toc-list'); - const headings = document.querySelectorAll('section h2, section h3'); + const headings = document.querySelectorAll('section h2, section h3, section article h3'); headings.forEach((heading, index) => { // Create an ID for the heading if it doesn't have one diff --git a/kjvstudy_org/templates/parables.html b/kjvstudy_org/templates/parables.html index f8e30ca..3e61fbb 100644 --- a/kjvstudy_org/templates/parables.html +++ b/kjvstudy_org/templates/parables.html @@ -207,7 +207,7 @@ document.addEventListener('DOMContentLoaded', function() { // Generate TOC from h2 and h3 headings const tocList = document.getElementById('toc-list'); - const headings = document.querySelectorAll('section h2, section h3'); + const headings = document.querySelectorAll('section h2, section h3, section article h3'); headings.forEach((heading, index) => { // Create an ID for the heading if it doesn't have one diff --git a/kjvstudy_org/templates/twelve_apostles.html b/kjvstudy_org/templates/twelve_apostles.html index 3622eca..c480666 100644 --- a/kjvstudy_org/templates/twelve_apostles.html +++ b/kjvstudy_org/templates/twelve_apostles.html @@ -211,7 +211,7 @@ document.addEventListener('DOMContentLoaded', function() { // Generate TOC from h2 and h3 headings const tocList = document.getElementById('toc-list'); - const headings = document.querySelectorAll('section h2, section h3'); + const headings = document.querySelectorAll('section h2, section h3, section article h3'); headings.forEach((heading, index) => { // Create an ID for the heading if it doesn't have one diff --git a/kjvstudy_org/templates/women_of_the_bible.html b/kjvstudy_org/templates/women_of_the_bible.html index fd0d34e..6ff99b7 100644 --- a/kjvstudy_org/templates/women_of_the_bible.html +++ b/kjvstudy_org/templates/women_of_the_bible.html @@ -211,7 +211,7 @@ document.addEventListener('DOMContentLoaded', function() { // Generate TOC from h2 and h3 headings const tocList = document.getElementById('toc-list'); - const headings = document.querySelectorAll('section h2, section h3'); + const headings = document.querySelectorAll('section h2, section h3, section article h3'); headings.forEach((heading, index) => { // Create an ID for the heading if it doesn't have one