mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-11-23 03:39:03 +00:00
Andrew Senetar
7df1c88d8c
The following updates are made: - index.html now lists the site description along with X articles - _list_item.html universalizes code for iterating over the articles - _site_social.html is merged into base.html - _google_search.html is added for custom search support - _gosquared.html, _google_analytics.html have minor formatting changes - archives.html displays a one page list of all articles - period_archives.html is removed as it is not planned for implementation atm - tags.html general clean up and tweaks - base.html now has - full rss/atom feed support - disqus comment count support on links (not used yet) - blog links in aside - search in aside
25 lines
1020 B
HTML
25 lines
1020 B
HTML
{% extends 'base.html' %}
|
|
{% block title %}{{ super() }} - Archives{% endblock %}
|
|
{% block content_title %}<a href="{{ SITEURL }}/archives.html" rel="bookmark" title="Permalink to archives">Archives</a>{% endblock %}
|
|
{% block content %}
|
|
<dl class="article-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 %}
|