summaryrefslogtreecommitdiff
path: root/theme/templates/page.html
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2016-10-23 22:38:55 +0200
committerUwe Kleine-König <uwe@kleine-koenig.org>2016-10-23 22:38:55 +0200
commit432285bda8a96f0e5bdff52d4d726ad2397b3ac8 (patch)
treeb86acea2dc86e2e4fc9c3e09f6965a8c6260a5f3 /theme/templates/page.html
initial approach for new flug website
Diffstat (limited to 'theme/templates/page.html')
-rw-r--r--theme/templates/page.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/theme/templates/page.html b/theme/templates/page.html
new file mode 100644
index 0000000..5ac50b6
--- /dev/null
+++ b/theme/templates/page.html
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+{% block title %}{{ page.title }}{% endblock %}
+{% block content %}
+<section id="content" class="body">
+ <h1 class="entry-title">{{ page.title }}</h1>
+ {% import 'translations.html' as translations with context %}
+ {{ translations.translations_for(page) }}
+ {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get
+ the pdf</a>{% endif %}
+ {{ page.content }}
+</section>
+{% endblock %}