view themes/tuxlite_tbs/templates/archives.html @ 44:31fa19e7fd78

hard-code german for now. This is in sync with the LOCALE setting in the config but is not a good choice with translated articles, obviously
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 30 Sep 2014 04:26:39 +0200
parents 6e2bcaecf3ec
children
line wrap: on
line source

{% extends "base.html" %}
{% block title %}{{ SITENAME }} <small>[archive]</small>{% endblock %}
{% block content %}

<h1>Archives</h1>

<table class="table">
    <tbody>
    {% for article in dates %}
        <tr>
        <td>{{ article.date.strftime("%d %b %Y") }}</td>
        <td><a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a></td>
        </tr>
    {% endfor %}
    </tbody>
</table>


{% endblock %}