diff options
Diffstat (limited to 'themes/xmin/templates/tags/single.html')
-rw-r--r-- | themes/xmin/templates/tags/single.html | 25 |
1 files changed, 25 insertions, 0 deletions
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 %} | ||