]> git.p6c8.net - pcdenotes.git/blob - notes/templates/archive_year.html
Display number of notes in archive view
[pcdenotes.git] / notes / templates / archive_year.html
1 {% extends "note_base.html" %}
2 {% load notes_extras %}
3
4 {% block title %}Archive {{ year }} – Notes{% endblock %}
5
6 {% block content %}
7 <h2>Archive {{ year }}</h2>
8
9 {% if months %}
10 <ul>
11 {% for month in months %}
12 <li><a href="{{ month.created_month }}/">{{ month.created_month|month_name }}</a> ({{ month.total }})</li>
13 {% endfor %}
14 </ul>
15 {% else %}
16 <p>No notes</p>
17 {% endif %}
18 {% endblock %}

patrick-canterino.de