You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
403 B
HTML
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 %}
|
|
|