2013-05-28 02:15:01 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
2013-07-29 20:09:35 +00:00
|
|
|
<h2>Recent Articles by Category</h2>
|
2013-07-14 04:58:23 +00:00
|
|
|
{% for cat, articles in categories %}
|
2013-07-29 20:09:35 +00:00
|
|
|
<h3><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></h3>
|
2013-07-30 18:58:58 +00:00
|
|
|
<ul class="item-list" itemscope itemtype="http://schema.org/ItemList">
|
|
|
|
<meta itemprop="name" content="{{ cat }} recent articles"/>
|
2013-07-29 20:09:35 +00:00
|
|
|
{% for article in articles[0:3] %}
|
|
|
|
{% include '_list_item.html' %}
|
2013-07-14 04:58:23 +00:00
|
|
|
{% endfor %}
|
2013-07-29 20:09:35 +00:00
|
|
|
<p><a href="{{ SITEURL }}/{{ cat.url }}">View all articles in {{ cat }}...</a></p>
|
2013-07-14 04:58:23 +00:00
|
|
|
</ul>
|
2013-07-29 20:09:35 +00:00
|
|
|
{% endfor %}
|
2013-07-14 04:58:23 +00:00
|
|
|
{% endblock %}
|
2013-07-29 20:09:35 +00:00
|
|
|
|