aboutsummaryrefslogtreecommitdiff
path: root/templates/categories/single.html
blob: 0fe639d12fb333cba992566100625a5115be1630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% extends "base.html" %}

{%- block content %}
    <div>
      <h2>{{ term.name }}</h2>
      {%- for year, posts in term.pages | group_by(attribute="year") %}
      <h3>{{ year }}</h3>
      {%- for page in posts %}
      <p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p>
      {%- endfor %}
      {%- endfor %}
    </div>
{%- endblock content %}