mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
6940156a24
- Create parse_verse_reference() helper function - Parse verse references like "John 3:16" and "Romans 8:38-39" - Generate URLs for single verses (/book/John/chapter/3/verse/16) - Generate URLs for verse ranges (/book/Romans/chapter/8#verse-38-39) - Process verse references in both homepage and study guides routes - Update study_guides.html template to render verse links - All verse references in study guide sidenotes are now clickable 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
1.4 KiB
HTML
40 lines
1.4 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Bible Study Guides - KJV Bible{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Bible Study Guides</h1>
|
|
<p class="subtitle"><a href="/">Authorized King James Version</a></p>
|
|
|
|
<section>
|
|
<p><span class="newthought">These study guides</span> offer structured explorations of foundational Christian truths, character development, and biblical themes. Each guide includes relevant Scripture passages and reflections for deeper understanding of God's Word.</p>
|
|
</section>
|
|
|
|
{% for category, guides in study_guides.items() %}
|
|
<section>
|
|
<h2>{{ category }}</h2>
|
|
|
|
{% for guide in guides %}
|
|
<p>
|
|
<strong><a href="/study-guides/{{ guide.slug }}">{{ guide.title }}</a></strong><label for="sn-{{ guide.slug }}" class="margin-toggle sidenote-number"></label>
|
|
<input type="checkbox" id="sn-{{ guide.slug }}" class="margin-toggle"/>
|
|
<span class="sidenote">
|
|
<strong>Key Verses:</strong><br/>
|
|
{% for verse_ref in guide.verse_refs[:5] %}
|
|
<a href="{{ verse_ref.url }}">{{ verse_ref.text }}</a>{% if not loop.last %}, {% endif %}
|
|
{% endfor %}
|
|
{% if guide.verse_refs|length > 5 %}
|
|
<br/><em>+{{ guide.verse_refs|length - 5 }} more</em>
|
|
{% endif %}
|
|
</span>
|
|
— {{ guide.description }}
|
|
</p>
|
|
{% endfor %}
|
|
</section>
|
|
{% endfor %}
|
|
|
|
<nav>
|
|
<p><a href="/">← Home</a></p>
|
|
</nav>
|
|
{% endblock %}
|