diff options
author | garhve <git@garhve.com> | 2023-01-02 06:02:01 +0800 |
---|---|---|
committer | garhve <git@garhve.com> | 2023-01-02 06:02:01 +0800 |
commit | be772f40c42711de54a3331db2781b1511acba9d (patch) | |
tree | 0808a7750d3c1055b0e86071c219d872775b1f92 /templates/categories/single.html | |
parent | 3ae5ecf803ed2d4ece2c9da6d91aae0f075c5b0c (diff) |
change to zola
Diffstat (limited to 'templates/categories/single.html')
-rw-r--r-- | templates/categories/single.html | 21 |
1 files changed, 21 insertions, 0 deletions
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 %} +<title>{{ term.name }} | {{ config.title }}</title> +{% endblock %} + +{% block content %} +<p class="archive_title">[Category: {{ term.name }}]</p> + +{% for page in term.pages %} +<p> + <div class="date"> + {{ page.date }} + </div> + <div class="archive_title"> + <a href="{{ page.permalink | safe }}">{{ page.title }}</a> + </div> +</p> +{% endfor %} + +{% endblock content %} |