Bring consistency to templates, update structure to use new base

This commit is contained in:
Raymond Wanyoike 2016-11-06 22:34:37 +03:00
commit d2b298f147
12 changed files with 150 additions and 136 deletions

View file

@ -0,0 +1,18 @@
{% extends "base.html" %}
{% block title %}
Archives for {{ period | reverse | join(' ') }} {{ super() }}
{% endblock %}
{% block page_header %}
Archives for {{ period | reverse | join(' ') }}
{% endblock %}
{% block content %}
<dl class="dl-horizontal">
{% for article in dates %}
<dt>{{ article.locale_date }}</dt>
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>
{% endblock %}