diff options
Diffstat (limited to 'templates/categories/single.html')
| -rw-r--r-- | templates/categories/single.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/templates/categories/single.html b/templates/categories/single.html index d5fe5b7..641add7 100644 --- a/templates/categories/single.html +++ b/templates/categories/single.html @@ -1,8 +1,13 @@ {% extends "base.html" %} {% block content %} - <div> +<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 %} + {% 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 %} |
