summaryrefslogtreecommitdiff
path: root/themes/nojs/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/nojs/templates/page.html')
-rw-r--r--themes/nojs/templates/page.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/themes/nojs/templates/page.html b/themes/nojs/templates/page.html
new file mode 100644
index 0000000..4570d47
--- /dev/null
+++ b/themes/nojs/templates/page.html
@@ -0,0 +1,29 @@
+{% extends "base.html" %}
+{% block html_lang %}{{ page.lang }}{% endblock %}
+
+{% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%}
+
+{% block head %}
+ {{ super() }}
+
+ {% 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">
+ <h2>{{ page.title }}</h2>
+ {% import 'translations.html' as translations with context %}
+ {{ translations.translations_for(page) }}
+
+ {{ page.content }}
+
+ {% if page.modified %}
+ <p>
+ Last updated: {{ page.locale_modified }}
+ </p>
+ {% endif %}
+</section>
+{% endblock %}