From afc812661742a6830ac4686183ccd2d2e3df6386 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz Bible Books
+ Old Testament
+
+
+ Torah/Pentateuch
+ {% set torah = ['Genesis', 'Exodus', 'Leviticus', 'Numbers', 'Deuteronomy'] %}
{% for book in books %}
+ {% if book in torah %}
+ class="bible-book torah {% if book in request.url.path %}active{% endif %}">
{{ book }}
+ {% endif %}
+ {% endfor %}
+
+
+ Historical Books
+ {% set historical = ['Joshua', 'Judges', 'Ruth', '1 Samuel', '2 Samuel', '1 Kings', '2 Kings', '1 Chronicles', '2 Chronicles', 'Ezra', 'Nehemiah', 'Esther'] %}
+ {% for book in books %}
+ {% if book in historical %}
+
+ {{ book }}
+
+ {% endif %}
+ {% endfor %}
+
+
+ Wisdom Literature
+ {% set wisdom = ['Job', 'Psalms', 'Proverbs', 'Ecclesiastes', 'Song of Solomon'] %}
+ {% for book in books %}
+ {% if book in wisdom %}
+
+ {{ book }}
+
+ {% endif %}
+ {% endfor %}
+
+
+ Major Prophets
+ {% set major_prophets = ['Isaiah', 'Jeremiah', 'Lamentations', 'Ezekiel', 'Daniel'] %}
+ {% for book in books %}
+ {% if book in major_prophets %}
+
+ {{ book }}
+
+ {% endif %}
+ {% endfor %}
+
+
+ Minor Prophets
+ {% set minor_prophets = ['Hosea', 'Joel', 'Amos', 'Obadiah', 'Jonah', 'Micah', 'Nahum', 'Habakkuk', 'Zephaniah', 'Haggai', 'Zechariah', 'Malachi'] %}
+ {% for book in books %}
+ {% if book in minor_prophets %}
+
+ {{ book }}
+
+ {% endif %}
+ {% endfor %}
+
+
+
+ New Testament
+
+
+ Gospels
+ {% set gospels = ['Matthew', 'Mark', 'Luke', 'John'] %}
+ {% for book in books %}
+ {% if book in gospels %}
+
+ {{ book }}
+
+ {% endif %}
+ {% endfor %}
+
+
+ Historical
+ {% set acts = ['Acts'] %}
+ {% for book in books %}
+ {% if book in acts %}
+
+ {{ book }}
+
+ {% endif %}
+ {% endfor %}
+
+
+ Pauline Epistles
+ {% set pauline = ['Romans', '1 Corinthians', '2 Corinthians', 'Galatians', 'Ephesians', 'Philippians', 'Colossians', '1 Thessalonians', '2 Thessalonians', '1 Timothy', '2 Timothy', 'Titus', 'Philemon', 'Hebrews'] %}
+ {% for book in books %}
+ {% if book in pauline %}
+
+ {{ book }}
+
+ {% endif %}
+ {% endfor %}
+
+
+ General Epistles
+ {% set general_epistles = ['James', '1 Peter', '2 Peter', '1 John', '2 John', '3 John', 'Jude'] %}
+ {% for book in books %}
+ {% if book in general_epistles %}
+
+ {{ book }}
+
+ {% endif %}
+ {% endfor %}
+
+
+ Apocalyptic
+ {% set apocalyptic = ['Revelation'] %}
+ {% for book in books %}
+ {% if book in apocalyptic %}
+
+ {{ book }}
+
+ {% endif %}
{% endfor %}
{% endif %}
diff --git a/kjvstudy_org/templates/index.html b/kjvstudy_org/templates/index.html
index 20eee49..1cb3c24 100644
--- a/kjvstudy_org/templates/index.html
+++ b/kjvstudy_org/templates/index.html
@@ -15,12 +15,124 @@