aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight/templates/archives.html
blob: 4d6234f4c90773c8ad28eb7ff0383729f125d0e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "base.html" %}

{%block title %}{{ SITENAME }} - Archives{%endblock%}

{% block content %}
  <h2 class="page_title">Archives</h1>
  <table id="archives">
    <tbody>
      <tr>
        <th>Date</th>
        <th>Article</th>
      </tr>
  {% for article in dates %}
      <tr>
        <td>{{ article.date.strftime(DEFAULT_DATE_FORMAT or '%a %d %B %Y') }}</td>
        <td><a href='{{ article.url }}'>{{ article.title }}</a></td>
      </tr>
  {% endfor %}
    </tbody>
  </table>
{% endblock %}