From 6385a5f78ce2ad7409811927b10fc2b62e427643 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 15 Nov 2020 13:14:37 +0100 Subject: Extract theme from templates --- themes/xmin/templates/page.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 themes/xmin/templates/page.html (limited to 'themes/xmin/templates/page.html') diff --git a/themes/xmin/templates/page.html b/themes/xmin/templates/page.html new file mode 100644 index 0000000..f32a6fc --- /dev/null +++ b/themes/xmin/templates/page.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} + +{% block title %} +{{- page.title -}} +{% endblock %} + +{% block main %} +
+
+

{{ page.title }}

+ +

+ {%- if page.taxonomies %} + {%- for name, taxon in page.taxonomies %} + {{ name | capitalize }}: + {%- for item in taxon %} + {{ item }} + {%- endfor %} + {%- endfor %} + {%- endif %} +

+
+ +
+ {{ page.content | safe }} +
+
+{% endblock %} -- cgit 1.4.1