X-Git-Url: http://unremediatedgender.space/source?p=Ultimately_Untrue_Thought.git;a=blobdiff_plain;f=theme%2Ftemplates%2Farchives.html;fp=theme%2Ftemplates%2Farchives.html;h=187b1845f983e62a6b1f06a0b8c135c009516f0a;hp=0000000000000000000000000000000000000000;hb=5dab5bb125484dc1af6d1f876f3232e36f4ad12b;hpb=885612e72eac46be717d820d7942fadf3d1e2d39 diff --git a/theme/templates/archives.html b/theme/templates/archives.html new file mode 100644 index 0000000..187b184 --- /dev/null +++ b/theme/templates/archives.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Archives{% endblock %} + +{% block content %} +

Archives

+ +
+ {% for article in dates %} + + {% if loop.first or loop.previtem.date.month != article.date.month %} +

{{ article.date.strftime('%B %Y') }}

+ {% endif %} + +
{{ article.date.strftime('%d') }}   {{ article.title }}
+ {% endfor %} +
+{% endblock %}