about summary refs log tree commit diff stats
path: root/themes/xmin/templates/tags
diff options
context:
space:
mode:
Diffstat (limited to 'themes/xmin/templates/tags')
-rw-r--r--themes/xmin/templates/tags/list.html18
-rw-r--r--themes/xmin/templates/tags/single.html25
2 files changed, 43 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 %}
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 @@
1{% extends "base.html" %}
2
3{% block rss %}
4 {% set rss_path = "tags/" ~ term.name ~ "/atom.xml" %}
5 <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path=rss_path, trailing_slash=false) | safe }}">
6
7{% endblock %}
8
9{% block title %}{{ taxonomy.name | capitalize }}: {{ term.name }} | {{ config.title }}{% endblock %}
10
11{% block main %}
12<main>
13 <h1>{{ taxonomy.name | capitalize }}: {{ term.name }}</h1>
14 <section>
15 <ul class="h-feed">
16 {%- for page in term.pages %}
17 <li class="h-entry">
18 <time class="dt-published" datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format="%F") }}</time>
19 <a class="u-url p-name" href="{{ page.permalink | safe }}">{{ page.title }}</a>
20 </li>
21 {%- endfor %}
22 </ul>
23 </section>
24</main>
25{% endblock %}