diff --git a/kjvstudy_org/server.py b/kjvstudy_org/server.py index d23b6d1..2e67c4d 100644 --- a/kjvstudy_org/server.py +++ b/kjvstudy_org/server.py @@ -1920,8 +1920,9 @@ def resources_page(request: Request): { "name": "Genealogies", "url": "/family-tree", - "description": "Family trees and lineages traced through Scripture", - "count": "Family trees" + "description": "Interactive family tree from Adam to Jesus Christ with detailed person profiles", + "count": "160+ people", + "badge": "Interactive" } ], "Study Tools": [ diff --git a/kjvstudy_org/templates/family_tree.html b/kjvstudy_org/templates/family_tree.html index cbaeea9..de3f9d5 100644 --- a/kjvstudy_org/templates/family_tree.html +++ b/kjvstudy_org/templates/family_tree.html @@ -5,96 +5,62 @@ {% block head %} {% endblock %} {% block content %} -
From Adam to Jesus Christ
+{% set female_names = ['eve', 'sarah', 'rebekah', 'rachel', 'leah', 'ruth', 'mary', 'tamar', 'rahab', 'bathsheba', 'dinah', 'keturah', 'hagar', 'zilpah', 'bilhah', 'jochebed', 'miriam', 'deborah', 'hannah', 'abigail', 'esther', 'naomi', 'naamah', 'milcah', 'adah', 'zillah', 'asenath', 'basemath'] %} -The Bible contains detailed genealogies that trace God's plan through specific family lines, culminating in the birth of Jesus Christ. This record spans from the creation of Adam through countless generations to the birth of our Lord.
-From Adam to Jesus Christ
++ The Bible contains detailed genealogies that trace God's plan through specific family lines, culminating in the birth of Jesus Christ. This record spans from the creation of Adam through countless generations to the birth of our Lord. +
+ + +Navigate the family tree with an interactive, zoomable diagram. Expand and collapse branches, search for any person, and see the Messianic lineage highlighted in gold.
+View the direct paternal line from Adam to Jesus Christ in a vertical genealogy chart showing each generation.
+Loading statistics...
+- Interactive Tree — - Navigate the family tree with an interactive, zoomable diagram. Expand and collapse branches, search for any person, and see the Messianic lineage highlighted in gold. -
-- Messianic Lineage — - View the direct paternal line from Adam to Jesus Christ in a vertical genealogy chart. -
-- {% for person_id in generations[gen_num][:20] %} - {{ family_tree_data[person_id].name }}{% if not loop.last %}, {% endif %} - {% endfor %}{% if generations[gen_num]|length > 20 %}, and {{ generations[gen_num]|length - 20 }} others{% endif %}. -
+ {% endfor %}- {% for verse in person.verses[:2] %} - {% set ref_parts = verse.reference.split(' ') %} - {% if ref_parts|length >= 2 %} - {% set chapter_verse = ref_parts[-1] %} - {% if ':' in chapter_verse %} - {% set chapter = chapter_verse.split(':')[0] %} - {% set verse_part = chapter_verse.split(':')[1] %} - {% if '-' in verse_part %} - {% set verse_num = verse_part.split('-')[0] %} - {% else %} - {% set verse_num = verse_part %} - {% endif %} - {% set book = ' '.join(ref_parts[:-1]) %} - {{ verse.reference }}{% if not loop.last %}; {% endif %} - {% endif %} +
Family tree data could not be loaded.
- +