aboutsummaryrefslogblamecommitdiffstats
path: root/tuxlite_tbs/templates/archives.html
blob: 6f30f06141aa06f215db240945decec92ddfbfd0 (plain) (tree)
1
2
3
4
5
6
7



                                                                      
                   
                                                              
                                                  







                                                                
{% extends "base.html" %}
{% block title %}{{ SITENAME }} <small>[archive]</small>{% endblock %}
{% block content %}
{% for year, date_year in dates|groupby( 'date.year' ) %}
<h1>{{ year }}</h1>
{% for month, articles in date_year|groupby( 'date.month' ) %}
<h2>{{ articles[ 0 ].date.strftime( '%B' ) }}</h2>
<ul>
{% for article in articles %}
	<li><a href="{{ article.url }}">{{ article.title }}</li>
{% endfor %}
</ul>
{% endfor %}
{% endfor %}
{% endblock %}