21 lines
433 B
HTML
21 lines
433 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Categories {{ super() }}
|
|
{% endblock %}
|
|
|
|
{% block page_header %}
|
|
Categories
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<table class="table table-bordered table-striped table-hover">
|
|
{% for category, articles in categories|sort %}
|
|
<tr>
|
|
<td><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></td>
|
|
<td>{{ articles|count }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|