1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-11-23 03:39:03 +00:00
pelican-red/templates/categories.html
Andrew Senetar a584c9b380 Update all main template files
This is a major update to template files as now most have actual content.
2013-07-14 00:58:23 -04:00

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 %}