{% extends "base.html" %}
{% block head %}
<link rel="alternate" type="application/atom+xml" title="{{ settings.SITENAME }}" href="/atom.xml" />
<title>{{ settings.SITENAME }}</title>
{% endblock %}
{% block content %}
    <div class="index">
    {% for item in items %}
    {% include "listitem.html" with item=item %}
    {% endfor %}
    {% if archive %}
    <div class="archive">
        <a href="{{ archive }}">previous weeks</a>
    </div>
    {% endif %}
    </div>
{% endblock %}