lektor-website/templates/blog-archive/year.html

19 lines
627 B
HTML
Raw Normal View History

2015-12-22 11:50:18 +01:00
{% extends "blog-layout.html" %}
2015-12-19 14:52:17 +01:00
{% block title %}{{ this.year }} Archive | The Transcript{% endblock %}
{% block blog_body %}
<h1>The Transcript in {{ this.year }}</h1>
<p>
<a href="{{ this.archive_index|url }}">&laquo; Back to the archive</a>
<ul>
{% for archive, items in this.items_by_months %}
<li><a href="{{ archive|url }}">{{ archive.date|dateformat('MMMM') }}</a>:
<ul>
{% for post in items %}
<li><a href="{{ post|url }}">{{ post.title }}</a> by {{ post.author }}
on {{ post.pub_date|dateformat }}
{% endfor %}
</ul>
{% endfor %}
</ul>
{% endblock %}