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

20 lines
628 B
HTML
Raw Permalink 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>
2016-01-09 10:24:39 +01:00
<a href="{{ '..'|url }}">&laquo; Back to the archive</a>
2015-12-19 14:52:17 +01:00
<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 }}</li>
2015-12-19 14:52:17 +01:00
{% endfor %}
</ul>
</li>
2015-12-19 14:52:17 +01:00
{% endfor %}
</ul>
{% endblock %}