summaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorRafael Laboissière <rafael@laboissiere.net>2022-12-11 09:55:21 +0100
committerRafael Laboissière <rafael@laboissiere.net>2022-12-11 09:55:21 +0100
commitf08e56433fb2c92a9172787adcb33edee347bc7b (patch)
treea22469e241b12306d1fc6c766bcd82ebb74b5c7b /templates/page.html
parent620ce27818a754dc9604d5a9344fa493cdf1241b (diff)
Update for new upstream version (revision 3891)upstream
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..428c47f
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+{% block html_lang %}{{ page.lang }}{% endblock %}
+{% block title %}{{ page.title|striptags }}{% endblock %}
+
+{% block extra_head %}
+{% import 'translations.html' as translations with context %}
+{% if translations.entry_hreflang(page) %}
+ {{ translations.entry_hreflang(page) }}
+{% endif %}
+{% 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) }}
+ {{ page.content }}
+</section>
+{% endblock %}