1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-10-22 01:15:56 +00:00
pelican-red/templates/archives.html
Andrew Senetar 0d53dc55d4 Update templates to include microformat support
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
2013-07-30 14:58:58 -04:00

24 lines
827 B
HTML

{% extends 'base.html' %}
{% block content %}
<dl class="item-list">
{% for article in articles %}
<dt><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dt>
<dd>Published: <abbr class="published" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</abbr> by <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a></dd>
{% if article.modified %}
<dd>Last modified on: <abbr class="modified" title="{{article.modified}}">{{ article.modified }}</abbr></dd>
{% endif %}
<dd>Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></dd>
{% if article.tags %}
<dd>Tags:
{% for tag in article.tags %}
<a href="{{ SITEURL }}/{{ tag.url }}">{{tag}}</a>
{% if not loop.last %}
,
{% endif %}
{% endfor %}</dd>
{% endif %}
{% endfor %}
</dl>
{% endblock %}