mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-11-23 03:39:03 +00:00
12 lines
388 B
HTML
12 lines
388 B
HTML
{% extends 'base.html' %}
|
|
{% block title %}{{ super() }} - Categories{% endblock %}
|
|
{% block content %}
|
|
<h1>Categories</h1>
|
|
<ul class='no-bullet'>
|
|
{% for cat, articles in categories %}
|
|
<li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat.name|title }}</a> -
|
|
{{ articles|length }}{% if articles|length == 1 %} article {% else %} articles{% endif %}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|