summaryrefslogtreecommitdiff
path: root/themes/simple/templates/page.html
diff options
context:
space:
mode:
authorDaniel Hader <[email protected]>2026-08-29 13:06:16 -0500
committerDaniel Hader <[email protected]>2026-08-29 13:06:16 -0500
commit5fa81500dcc07a853a01b0b0d813069467995807 (patch)
tree4edb04d0a99ee88492f99eb7a09d8982b56280f9 /themes/simple/templates/page.html
work in progress css
Diffstat (limited to 'themes/simple/templates/page.html')
-rw-r--r--themes/simple/templates/page.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/themes/simple/templates/page.html b/themes/simple/templates/page.html
new file mode 100644
index 0000000..4096e7a
--- /dev/null
+++ b/themes/simple/templates/page.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+{% block html_lang %}{{ page.lang }}{% endblock %}
+
+{% block title %}{{ SITENAME|striptags }} - {{ page.title|striptags }}{%endblock%}
+
+{% block head %}
+ {{ super() }}
+
+ {% import 'translations.html' as translations with context %}
+ {% if translations.entry_hreflang(page) %}
+ {{ translations.entry_hreflang(page) }}
+ {% endif %}
+{% endblock %}
+
+{% block content %}
+ <article>
+ <header>
+ <h2>{{ page.title }}</h2>
+ </header>
+ {% import 'translations.html' as translations with context %}
+ {{ translations.translations_for(page) }}
+
+ {% block page_content %}{{ page.content }}{% endblock page_content %}
+
+ {% if page.modified %}
+ <footer>
+ <p>
+ Last updated: {{ page.locale_modified }}
+ </p>
+ </footer>
+ {% endif %}
+ </article>
+{% endblock %}