aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--hesla.appcache2
-rw-r--r--templates/czech.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 674750d..4a8e1dc 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ FILES=hesla.js icon-128.png index.html robots.txt screen.css hesla.appcache \
all: index.html
-index.html: generate_html.py hes12-01.xml
+index.html: generate_html.py hes12-01.xml templates/czech.html
./generate_html.py hes12-01.xml >$@
install: $(FILES)
diff --git a/hesla.appcache b/hesla.appcache
index ac294fe..ee37e36 100644
--- a/hesla.appcache
+++ b/hesla.appcache
@@ -1,5 +1,5 @@
CACHE MANIFEST
-# v22 - 2012-10-17
+# v24 - 2012-10-18
hesla.js
icon-128.png
index.html
diff --git a/templates/czech.html b/templates/czech.html
index 405d937..f987743 100644
--- a/templates/czech.html
+++ b/templates/czech.html
@@ -1,4 +1,4 @@
-{% macro bible_url(ref) %}http://www.crosswire.org/study/passagestudy.jsp?key={{ ref.book }}+{{ ref.chapter }}%3A{{ ref.verse }}{% endmacro %}
+{% macro bible_url(ref, mod) %}http://www.crosswire.org/study/passagestudy.jsp?key={{ ref.book }}+{{ ref.chapter }}%3A{{ ref.verse }}&mod={{ mod }}{% endmacro %}
<!DOCTYPE html>
<html manifest="hesla.appcache">
<head>
@@ -19,7 +19,7 @@
</header>
{% for wword in art.watchwords %}
<p>{{ wword.text }}</p>
- <p class="reference"><a href="{{ bible_url(wword.ref_id) }}">{{ wword.ref }}</a></p>
+ <p class="reference"><a href="{{ bible_url(wword.ref_id, 'CzeCEP') }}">{{ wword.ref }}</a></p>
{% endfor %}
<ul class="readings">
{% for read in art.readings %}