From f34c77a38b8ca529dea038cfb487d296573a81ed Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 22 Nov 2025 00:07:34 -0500 Subject: [PATCH] Add comprehensive biblical book abbreviation support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Extended capitalizeBook() function with extensive abbreviation mapping for all 66 biblical books, supporting common short forms used in Bible study. Abbreviations supported: - Old Testament: gen, exo, lev, num, deut, josh, judg, ps, prov, isa, etc. - New Testament: mat, mk, luk, jn, rom, cor, gal, eph, phil, rev, etc. - Numbered books: 1sam, 2ki, 1cor, 2pet, 1jn, etc. (with/without spaces) - Multiple variants: ps/psa for Psalms, jn/joh for John, mt/mat for Matthew Examples now working: - "gen 1:1" → Genesis 1:1 - "rom 8:28" → Romans 8:28 - "ps 23" → Psalms 23 - "1cor 13:4-8" → 1 Corinthians 13:4-8 - "rev" → Revelation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/templates/index.html | 39 ++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/kjvstudy_org/templates/index.html b/kjvstudy_org/templates/index.html index 31ef403..a2d3eca 100644 --- a/kjvstudy_org/templates/index.html +++ b/kjvstudy_org/templates/index.html @@ -190,10 +190,11 @@ section a[href^="/book/"] {