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-11-09 20:57:26 +00:00
|
|
|
<ul class="item-list">
|
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
|
|
|
|