From f08e56433fb2c92a9172787adcb33edee347bc7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Laboissi=C3=A8re?= Date: Sun, 11 Dec 2022 09:55:21 +0100 Subject: Update for new upstream version (revision 3891) --- templates/page.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/page.html (limited to 'templates/page.html') 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 %} +
+

{{ page.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + {{ page.content }} +
+{% endblock %} -- cgit v1.2.3