1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-11-23 11:49:01 +00:00
pelican-red/templates/categories.html
Andrew Senetar eca067ae67 Update templates
Update the templates to remove the excessive itemprop tags as it really
is not a good idea.  Cleanup a few minor things.
2013-11-09 15:57:26 -05:00

15 lines
403 B
HTML

{% extends 'base.html' %}
{% block content %}
<h2>Recent Articles by Category</h2>
{% for cat, articles in categories %}
<h3><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></h3>
<ul class="item-list">
{% for article in articles[0:3] %}
{% include '_list_item.html' %}
{% endfor %}
<p><a href="{{ SITEURL }}/{{ cat.url }}">View all articles in {{ cat }}...</a></p>
</ul>
{% endfor %}
{% endblock %}