aboutsummaryrefslogtreecommitdiffstats
path: root/templates/german.html
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2012-11-19 09:31:34 +0100
committerMatěj Cepl <mcepl@redhat.com>2012-11-19 09:39:26 +0100
commit260276512055cbfe816aeacde6a36cd39700afdb (patch)
treee6c206e611147046df537ce07da2c9928280512b /templates/german.html
parentdb8055b47a6c3db094461dc24659ece70c5371d9 (diff)
downloadhesla-260276512055cbfe816aeacde6a36cd39700afdb.tar.gz
DRY templates (we have now a base template)
Diffstat (limited to 'templates/german.html')
-rw-r--r--templates/german.html48
1 files changed, 9 insertions, 39 deletions
diff --git a/templates/german.html b/templates/german.html
index 340d462..8480f41 100644
--- a/templates/german.html
+++ b/templates/german.html
@@ -1,41 +1,11 @@
-<!DOCTYPE html>
-<html manifest="hesla.appcache">
- <head>
- <meta charset="utf-8"/>
- <meta content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" name="viewport"/>
- <link href="screen.css" type="text/css" rel="stylesheet"/>
- <title>Die Losungen der Herrnhuter Brüdergemeine</title>
- <script src="hesla.js" type="text/javascript" defer="defer">
-</script>
- </head>
- <body>
- <noscript>Tut mir leid, aber diese Anwendung funktioniert wirklich
- nicht ohne aktiviertes JavaScript!</noscript>
- {% for art in articles %}
- <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">{{ wword.ref }}</p>
- {% endfor %}
- </article>
- {% endfor %}
- <footer class="acknowledgment"><p>© <a href="http://www.ebu.de"
- target="_blank">Evangelische Brüder-Unität –
- Herrnhuter Brüdergemeine</a><br>
- Weitere Informationen finden Sie <a
- href="http://www.losungen.de"
- target="_blank">hier</a>.</p>
- <ul class="navigation">
- <li id="czech_nav">Česky</li>
- <li id="german_nav">Deutsch</li>
- </ul>
- </footer>
- </body>
-</html>
+{% extends "base.html" %}
+{% set title = 'Die Losungen der Herrnhuter Brüdergemeine' %}
+{% set noscript_message =
+'Tut mir leid, aber diese Anwendung funktioniert wirklich nicht ohne aktiviertes JavaScript!' %}
+{% set bib_mod = 'GerNeUe' %}
+{% block acknowledgment %}© <a href="http://www.ebu.de"
+ target="_blank">Evangelische Brüder-Unität – Herrnhuter Brüdergemeine</a><br>
+ Weitere Informationen finden Sie <a href="http://www.losungen.de"
+ target="_blank">hier</a>.{% endblock %}
<!-- vi:ft=htmljinja
-->