1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-11-24 11:59:01 +00:00
pelican-red/templates/archives.html

24 lines
827 B
HTML
Raw Normal View History

{% 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 %}