{% extends "note_base.html" %}
+{% load notes_extras %}
{% block title %}Archive {{ year }} – Notes{% endblock %}
{% block content %}
<h2>Archive {{ year }}</h2>
-
+{% if months %}
+<ul>
+ {% for month in months %}
+ <li><a href="{{ month.created_month }}/">{{ month.created_month|month_name }}</a> ({{ month.total }})</li>
+ {% endfor %}
+</ul>
+{% else %}
+<p>No notes</p>
+{% endif %}
{% endblock %}
\ No newline at end of file