Reorganize stats and indexes under /about/ namespace

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 <noreply@anthropic.com>
This commit is contained in:
2025-12-01 18:08:31 -05:00
parent 2343fcf923
commit feb40f5ce8
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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
+3 -3
View File
@@ -41,7 +41,7 @@
<section>
<h2>Verse Commentary</h2>
<p>In-depth theological analysis with Greek/Hebrew word studies
<br><a href="/indexes/commentary">→ Browse Commentary Index</a>
<br><a href="/about/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="/indexes/cross-references">→ Browse Cross-References Index</a>
<br><a href="/about/cross-references">→ Browse Cross-References Index</a>
</p>
<table>
<tr>
@@ -202,7 +202,7 @@
</section>
<p style="margin-top: 3rem; color: #999; font-size: 0.9rem;">
<em>This is a hidden page not linked from navigation. Access via direct URL: <code>/stats</code></em>
<em>This is a hidden page not linked from navigation. Access via direct URL: <code>/about/stats</code></em>
</p>
</article>