From 1721ce366279a0599d333f8924e206fdc6ffd027 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 20 Nov 2025 17:12:54 -0500 Subject: [PATCH] Simplify search page design MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Search page: 682 → 143 lines (79% reduction) - Remove emojis, autocomplete, complex CSS - Remove CSS variables and gradients - Keep core search functionality and results display - Use clean Tufte CSS styling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/templates/search.html | 657 +++-------------------------- 1 file changed, 59 insertions(+), 598 deletions(-) diff --git a/kjvstudy_org/templates/search.html b/kjvstudy_org/templates/search.html index 363ec71..19be1c3 100644 --- a/kjvstudy_org/templates/search.html +++ b/kjvstudy_org/templates/search.html @@ -1,507 +1,128 @@ {% extends "base.html" %} -{% block title %}{% if query %}Search Results for "{{ query }}"{% else %}Search the KJV Bible{% endif %} - Authorized King James Version{% endblock %} -{% block description %}{% if query %}Search results for "{{ query }}" in the Authorized King James Version (KJV) Bible. Find verses and passages across all books.{% else %}Search the complete Authorized King James Version (KJV) Bible. Find verses, passages, and topics across all 66 books.{% endif %}{% endblock %} -{% block keywords %}{% if query %}{{ query }}, KJV Bible search, Bible verse search, {{ query }} Bible verses{% else %}KJV Bible search, Bible verse search, search scripture, find Bible verses, Authorized King James Version search{% endif %}{% endblock %} +{% block title %}{% if query %}Search Results for "{{ query }}"{% else %}Search the KJV Bible{% endif %} - KJV Study{% endblock %} +{% block description %}{% if query %}Search results for "{{ query }}" in the King James Bible.{% else %}Search the complete King James Bible.{% endif %}{% endblock %} {% block head %} {% endblock %} -{% block breadcrumb %} -
- -
-{% endblock %} - {% block content %} -
-
-

Search the KJV Bible

-

- Search across all verses in the Authorized King James Version (1769) -

-
+

Search the KJV Bible

+

Search across all verses in the Authorized King James Version

+
-
- 🔍 - -
-
+
{% if query %} {% if total_results > 0 %} - {% if is_direct_verse %} -
- 📖 Found exact verse: {{ query }} -
- {% else %}
Found {{ total_results }} result{{ 's' if total_results != 1 else '' }} for "{{ query }}"
- {% endif %} -
- {% for result in results %} -
- - {% if is_direct_verse %}📖 {% endif %}{{ result.reference }} - -

{{ result.highlighted_text|safe }}

- {% if is_direct_verse %} - - {% endif %} + {% for result in results %} +
+
{{ result.highlighted_text|safe }}
+ + {% endfor %} {% else %} -
-

No results found

-

- No verses were found for "{{ query }}". - Try different words or check your spelling. -

+
+

No results found for "{{ query }}". Try different words or check your spelling.

{% endif %} {% endif %} @@ -511,172 +132,12 @@

Search Tips

  • Search for words or phrases that appear in Bible verses
  • -
  • Enter specific verse references like "John 3:16", "1 John 4:8", or "Genesis 1:1"
  • +
  • Enter specific verse references like "John 3:16" or "Genesis 1:1"
  • Use Roman numerals ("I John 4:8") or numbers ("1 John 4:8") for numbered books
  • Use multiple words to find verses containing all terms
  • -
  • Try different word forms (e.g., "love" vs "loveth")
  • -
  • Search for names, places, or key themes
  • -
  • Use Old English spellings for better KJV results
  • +
  • Use Old English spellings for better KJV results (e.g., "loveth" instead of "loves")
{% endif %} -
+
{% endblock %} - -{% block scripts %} - -{% endblock %} \ No newline at end of file