From feb40f5ce85af5d87e4e632475de879d2cf691df Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 1 Dec 2025 18:08:31 -0500 Subject: [PATCH] Reorganize stats and indexes under /about/ namespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed URLs: - /stats → /about/stats - /indexes/commentary → /about/commentary - /indexes/cross-references → /about/cross-references Creates a cleaner URL structure with all informational/meta pages grouped under /about/. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/routes/commentary.py | 2 +- kjvstudy_org/server.py | 4 ++-- kjvstudy_org/templates/stats.html | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kjvstudy_org/routes/commentary.py b/kjvstudy_org/routes/commentary.py index 8a299d9..4d9cf4e 100644 --- a/kjvstudy_org/routes/commentary.py +++ b/kjvstudy_org/routes/commentary.py @@ -19,7 +19,7 @@ router = APIRouter(tags=["Commentary"]) templates = None -@router.get("/indexes/commentary", response_class=HTMLResponse) +@router.get("/about/commentary", response_class=HTMLResponse) async def commentary_index(request: Request): """Commentary index - list all verses with commentary""" from collections import defaultdict diff --git a/kjvstudy_org/server.py b/kjvstudy_org/server.py index cefb926..5450783 100644 --- a/kjvstudy_org/server.py +++ b/kjvstudy_org/server.py @@ -1268,7 +1268,7 @@ def get_daily_verse(date_str=None): -@app.get("/stats", response_class=HTMLResponse) +@app.get("/about/stats", response_class=HTMLResponse) async def stats(request: Request): """Hidden statistics page - comprehensive site metrics""" import json @@ -1420,7 +1420,7 @@ async def stats(request: Request): ) -@app.get("/indexes/cross-references", response_class=HTMLResponse) +@app.get("/about/cross-references", response_class=HTMLResponse) async def cross_references_index(request: Request): """Cross-references index - list all verses with cross-references""" from collections import defaultdict diff --git a/kjvstudy_org/templates/stats.html b/kjvstudy_org/templates/stats.html index 0ea2053..4f3e3e3 100644 --- a/kjvstudy_org/templates/stats.html +++ b/kjvstudy_org/templates/stats.html @@ -41,7 +41,7 @@

Verse Commentary

In-depth theological analysis with Greek/Hebrew word studies -
→ Browse Commentary Index +
→ Browse Commentary Index

@@ -70,7 +70,7 @@

Cross-References

Based on Treasury of Scripture Knowledge (CC-BY) -
→ Browse Cross-References Index +
→ Browse Cross-References Index

@@ -202,7 +202,7 @@

- This is a hidden page not linked from navigation. Access via direct URL: /stats + This is a hidden page not linked from navigation. Access via direct URL: /about/stats