]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/archive_main.html
Began to implement archive view
[pcdenotes.git] / notes / templates / archive_main.html
diff --git a/notes/templates/archive_main.html b/notes/templates/archive_main.html
new file mode 100644 (file)
index 0000000..268e950
--- /dev/null
@@ -0,0 +1,17 @@
+{% extends "note_base.html" %}
+
+{% block title %}Archive – Notes{% endblock %}
+
+{% block content %}
+<h2>Archive</h2>
+
+{% if years %}
+<ul>
+  {% for year in years %}
+    <li><a href="{{ year }}/">{{ year }}</a></li>
+  {% endfor %}
+</ul>
+{% else %}
+<p>No notes</p>
+{% endif %}
+{% endblock %}
\ No newline at end of file

patrick-canterino.de