aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc3
-rwxr-xr-xgenerate_html_cs.py4
-rw-r--r--hesla.appcache2
-rw-r--r--templates/base.html2
4 files changed, 6 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..7b373cc
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1,3 @@
+let g:flake8_cmd="/usr/bin/python3-flake8"
+let g:syntastic_python_python_exe = 'python3'
+let g:syntastic_python_pylint_exe = 'python3-pylint'
diff --git a/generate_html_cs.py b/generate_html_cs.py
index 7073a24..48b945a 100755
--- a/generate_html_cs.py
+++ b/generate_html_cs.py
@@ -16,9 +16,7 @@ book_abbrs = {
"Nu": "Num", "Dt": "Deut", "Jos": "Josh", "Jdc": "Judg",
"Rth": "Ruth",
"1Sm": "1Sam", "2Sm": "2Sam", "1Rg": "1Kgs", "2Rg": "2Kgs",
- "1Chr": "1Chr", "2Chr": "2Chr",
- "Esr": "Ezra",
- "Neh": "Neh",
+ "1Chr": "1Chr", "2Chr": "2Chr", "Esr": "Ezra", "Neh": "Neh",
"Esth": "Esth", # NA in source code,
"Job": "Job", "Ps": "Ps", "Prv": "Prov", "Eccl": "Eccl",
"Song": "Song", # NA in source code,
diff --git a/hesla.appcache b/hesla.appcache
index 7822747..43bdeb7 100644
--- a/hesla.appcache
+++ b/hesla.appcache
@@ -1,5 +1,5 @@
CACHE MANIFEST
-# v57 - 2013-07-04
+# v58 - 2014-10-25
hesla.js
icon-128.png
icon-30.png
diff --git a/templates/base.html b/templates/base.html
index eebb8c0..30d091c 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,6 +1,6 @@
{%- macro bible_url(ref, bib_mod) -%}
http://www.crosswire.org/study/passagestudy.jsp?key={{ ref.book
- }}+{{ ref.chapter }}%3A{{ ref.verse }}&mod={{ bib_mod }}
+ }}+{{ ref.chapter }}%3A{{ ref.verse }}{% if bib_mod %}&mod={{ bib_mod }}{%- endif %}
{%- endmacro -%}
{%- macro verses(word) -%}
<p>{{ word.text }}</p>