mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-11-22 11:19:02 +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
24 lines
827 B
HTML
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 %}
|
|
|