about summary refs log tree commit diff stats
path: root/themes/xmin/templates/tags/single.html
blob: 25dde541b32a460a53bdf2b979b51cb294834141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends "base.html" %}

{% block rss %}
  {% set rss_path = "tags/" ~ term.name ~ "/atom.xml" %}
  <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path=rss_path, trailing_slash=false) | safe }}">

{% endblock %}

{% block title %}{{ taxonomy.name | capitalize }}: {{ term.name }} | {{ config.title }}{% endblock %}

{% block main %}
<main>
  <h1>{{ taxonomy.name | capitalize }}: {{ term.name }}</h1>
  <section>
    <ul class="h-feed">
      {%- for page in term.pages %}
        <li class="h-entry">
          <time class="dt-published" datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format="%F") }}</time>
          <a class="u-url p-name" href="{{ page.permalink | safe }}">{{ page.title }}</a>
        </li>
      {%- endfor %}
    </ul>
  </section>
</main>
{% endblock %}