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/tags/list.html | 18 ++++++++++++++++++ themes/xmin/templates/tags/single.html | 25 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 themes/xmin/templates/tags/list.html create mode 100644 themes/xmin/templates/tags/single.html (limited to 'themes/xmin/templates/tags') diff --git a/themes/xmin/templates/tags/list.html b/themes/xmin/templates/tags/list.html new file mode 100644 index 0000000..ee60c39 --- /dev/null +++ b/themes/xmin/templates/tags/list.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}{{ taxonomy.name | capitalize }}{% endblock %} + +{% block main %} +
+

{{ taxonomy.name | capitalize }}

+
+ +
+
+{% endblock %} diff --git a/themes/xmin/templates/tags/single.html b/themes/xmin/templates/tags/single.html new file mode 100644 index 0000000..25dde54 --- /dev/null +++ b/themes/xmin/templates/tags/single.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} + +{% block rss %} + {% set rss_path = "tags/" ~ term.name ~ "/atom.xml" %} + + +{% endblock %} + +{% block title %}{{ taxonomy.name | capitalize }}: {{ term.name }} | {{ config.title }}{% endblock %} + +{% block main %} +
+

{{ taxonomy.name | capitalize }}: {{ term.name }}

+
+ +
+
+{% endblock %} -- cgit 1.4.1