aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2012-12-23 00:18:44 +0100
committerMatěj Cepl <mcepl@redhat.com>2012-12-23 00:18:44 +0100
commit08893d5fb0dbbdce85aaa25d771cf239d9e45b16 (patch)
tree25b28f79051f8724c7c2167472290a9821002485 /templates
parent5658977fea79964f849cd63050721910d69f8038 (diff)
downloadhesla-08893d5fb0dbbdce85aaa25d771cf239d9e45b16.tar.gz
Use correct biblical references.
Original source uses weird names of the biblical books (e.g., Thr for Lamentations). I have added a dict with which I translate those to the standard names understood by the biblical references (namely, http://www.crosswire.org/study/). Fixes #78.
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html
index b86e6f2..db30760 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -18,8 +18,8 @@
<article id="{{ art.date_id }}"><header><h1>{{ art.date_full }}{%-
if art.sunday %}<br>{{ art.sunday }}{%- endif %}</h1></header>
{% for wword in art.watchwords %}<p>{{ wword.text }}</p>
- <p class="reference">{% if wword.ref_id -%}
- <a href="{{ bible_url(wword.ref_id) }}">
+ <p class="reference">{% if wword.int_ref_id -%}
+ <a href="{{ bible_url(wword.int_ref_id) }}">
{{ wword.ref }}
</a>
{%- else %}