From be772f40c42711de54a3331db2781b1511acba9d Mon Sep 17 00:00:00 2001 From: garhve Date: Mon, 2 Jan 2023 06:02:01 +0800 Subject: change to zola --- templates/categories/list.html | 18 ++++++++++++++++++ templates/categories/single.html | 21 +++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 templates/categories/list.html create mode 100644 templates/categories/single.html (limited to 'templates/categories') diff --git a/templates/categories/list.html b/templates/categories/list.html new file mode 100644 index 0000000..b6d98c2 --- /dev/null +++ b/templates/categories/list.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %} +Categories +{% endblock %} + +{% block content %} +

[Categories]

+ + +{% endblock content %} \ No newline at end of file diff --git a/templates/categories/single.html b/templates/categories/single.html new file mode 100644 index 0000000..b02797e --- /dev/null +++ b/templates/categories/single.html @@ -0,0 +1,21 @@ +{% extends "base.html" %} + +{% block title %} +{{ term.name }} | {{ config.title }} +{% endblock %} + +{% block content %} +

[Category: {{ term.name }}]

+ +{% for page in term.pages %} +

+

+ {{ page.date }} +
+
+ {{ page.title }} +
+

+{% endfor %} + +{% endblock content %} -- cgit v1.2.3-70-g09d2