1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2026-01-23 15:11:38 +00:00

Update all main template files

This is a major update to template files as now most have actual content.
This commit is contained in:
2013-07-14 00:58:23 -04:00
parent f2cc7ba260
commit a584c9b380
9 changed files with 146 additions and 122 deletions

View File

@@ -1,4 +1,11 @@
{% extends 'base.html' %}
{% block title %}{{ super() }} - Categories{% endblock %}
{% block content %}
{% endblock %}
<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 %}