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 }} — Categories
Categories {{ super() }}
{% endblock %}
{% block page_header %}
Categories
{% endblock %}
{% block content %}
<h1>Categories on {{ SITENAME }}</h1>
<ul class="list-unstyled">
{% for category, articles in categories %}
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
{% endfor %}
</ul>
<ul class="list-unstyled">
{% for category, articles in categories %}
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
{% endfor %}
</ul>
{% endblock %}