diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2020-01-06 23:38:24 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2020-01-06 23:43:56 +0100 |
commit | 1ba799f49ce0284407a0ba0bead36a16d37bb850 (patch) | |
tree | 00c3b71cee18da81b8cbb85117cc12a7f4790df2 /templates | |
parent | 5fc244b79f965cfd8f45498829e9f6a302d9b4b0 (diff) | |
download | hesla-1ba799f49ce0284407a0ba0bead36a16d37bb850.tar.gz |
Parse chronicle records.
Also, reformat cs script with Black.
Fixes #8
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index 00af4c1..ca6ea59 100644 --- a/templates/base.html +++ b/templates/base.html @@ -53,8 +53,10 @@ {% for wword in art.watchwords %}{{ verses(wword) }}{% endfor %} {%- if art.readings %}<ul class="readings"> {% for read in art.readings %}<li>{{ read }}</li>{% endfor %} - </ul> -{% endif %} + </ul>{% endif %} + {%- if art.chronicles %}<ul class="chronicles"> + {% for chron in art.chronicles %}<li>{{ chron }}</li>{% endfor %} + </ul>{% endif %} </article> {%- endfor %} <footer class="acknowledgment"> |