Move commentary and cross-references indexes to /indexes/ namespace

Changed URLs from:
- /commentary → /indexes/commentary
- /cross-references → /indexes/cross-references

Updated stats page links to use new URLs. Old routes removed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-01 18:06:58 -05:00
parent 560f3b9e2a
commit 2343fcf923
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ router = APIRouter(tags=["Commentary"])
templates = None
@router.get("/commentary", response_class=HTMLResponse)
@router.get("/indexes/commentary", response_class=HTMLResponse)
async def commentary_index(request: Request):
"""Commentary index - list all verses with commentary"""
from collections import defaultdict
+1 -1
View File
@@ -1420,7 +1420,7 @@ async def stats(request: Request):
)
@app.get("/cross-references", response_class=HTMLResponse)
@app.get("/indexes/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
+2 -2
View File
@@ -41,7 +41,7 @@
<section>
<h2>Verse Commentary</h2>
<p>In-depth theological analysis with Greek/Hebrew word studies
<br><a href="/commentary">→ Browse Commentary Index</a>
<br><a href="/indexes/commentary">→ Browse Commentary Index</a>
</p>
<table>
<tr>
@@ -70,7 +70,7 @@
<section>
<h2>Cross-References</h2>
<p>Based on Treasury of Scripture Knowledge (CC-BY)
<br><a href="/cross-references">→ Browse Cross-References Index</a>
<br><a href="/indexes/cross-references">→ Browse Cross-References Index</a>
</p>
<table>
<tr>