diff options
author | Alan Pearce | 2020-11-15 13:14:37 +0100 |
---|---|---|
committer | Alan Pearce | 2020-11-15 13:15:31 +0100 |
commit | 6385a5f78ce2ad7409811927b10fc2b62e427643 (patch) | |
tree | 557406eaea728d84f82e852ada8fd97199d1a709 /themes/xmin/templates/tags/list.html | |
parent | 78096da0f478a0b11b77f365cedc855e7c680e14 (diff) | |
download | website-6385a5f78ce2ad7409811927b10fc2b62e427643.tar.xz website-6385a5f78ce2ad7409811927b10fc2b62e427643.zip |
Extract theme from templates
Diffstat (limited to 'themes/xmin/templates/tags/list.html')
-rw-r--r-- | themes/xmin/templates/tags/list.html | 18 |
1 files changed, 18 insertions, 0 deletions
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 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}{{ taxonomy.name | capitalize }}{% endblock %} | ||
4 | |||
5 | {% block main %} | ||
6 | <main> | ||
7 | <h1>{{ taxonomy.name | capitalize }}</h1> | ||
8 | <section> | ||
9 | <ul> | ||
10 | {%- for term in terms %} | ||
11 | <li> | ||
12 | <a href="{{ term.permalink }}">{{ term.name }}</a> | ||
13 | </li> | ||
14 | {%- endfor %} | ||
15 | </ul> | ||
16 | </section> | ||
17 | </main> | ||
18 | {% endblock %} | ||