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

@ -1,14 +1,17 @@
{% extends "base.html" %}
{% block title %}
{{ SITENAME }} — Authors
Authors {{ super() }}
{% endblock %}
{% block page_header %}
Authors
{% endblock %}
{% block content %}
<h1>Authors on {{ SITENAME }}</h1>
<ul class="list-unstyled">
{% for author, articles in authors|sort %}
<li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li>
{% endfor %}
</ul>
<ul class="list-unstyled">
{% for author, articles in authors|sort %}
<li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li>
{% endfor %}
</ul>
{% endblock %}