]> git.p6c8.net - pcdenotes.git/blob - notes/templates/archive_main.html
Filter drafts when creating year list
[pcdenotes.git] / notes / templates / archive_main.html
1 {% extends "note_base.html" %}
2
3 {% block title %}Archive – Notes{% endblock %}
4
5 {% block content %}
6 <h2>Archive</h2>
7
8 {% if years %}
9 <ul>
10 {% for year in years %}
11 <li><a href="{{ year }}/">{{ year }}</a></li>
12 {% endfor %}
13 </ul>
14 {% else %}
15 <p>No notes</p>
16 {% endif %}
17 {% endblock %}

patrick-canterino.de