mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-10-31 20:35:57 +00:00
Andrew Senetar
0d53dc55d4
The templates now include microformatting from schema.org. The title and content_title blocks are no longer in most templates. This updates the progess on issue #1
16 lines
513 B
HTML
16 lines
513 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" itemscope itemtype="http://schema.org/ItemList">
|
|
<meta itemprop="name" content="{{ cat }} recent articles"/>
|
|
{% 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 %}
|
|
|