Move PDF button to top of verse page

Standard action button at top instead of share section at bottom.

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-05 12:56:21 -05:00
parent 194c74880a
commit 65807c8f78
+11 -8
View File
@@ -916,6 +916,17 @@ a.crossref-pill:hover {
<h1>{{ book }} {{ chapter }}:{{ verse_num }}</h1>
<p class="subtitle"><a href="/books">Authorized King James Version</a></p>
{% if pdf_available and pdf_url %}
<div class="chapter-actions">
<a href="{{ pdf_url }}" class="action-btn pdf-btn">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
PDF
</a>
</div>
{% endif %}
<section>
<p class="verse-text">{{ verse_text | format_lists | red_letter(book, chapter, verse_num) | link_names | safe }}</p>
@@ -1028,14 +1039,6 @@ a.crossref-pill:hover {
</div>
{% endif %}
{% if pdf_available and pdf_url %}
<div class="share-section">
<div class="share-pills">
<a class="share-pill" href="{{ pdf_url }}">Download PDF</a>
</div>
</div>
{% endif %}
<script>
function toggleSection(sectionId) {
var contentId = sectionId + '-content';