From 4bae11bb25a8e3c43118891d17fd8e981ecf8dc6 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 23 May 2014 10:48:20 -0400 Subject: Refactored code to use PEP8/Pyflake coding styles and cleaned up cruft a bit --- design/templates/archives/writing_date.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 design/templates/archives/writing_date.html (limited to 'design/templates/archives/writing_date.html') diff --git a/design/templates/archives/writing_date.html b/design/templates/archives/writing_date.html new file mode 100644 index 0000000..103d9df --- /dev/null +++ b/design/templates/archives/writing_date.html @@ -0,0 +1,26 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% load html5_datetime %} +{% block pagetitle %}{{block.super}}: Archive{% endblock %} +{% block bodyid %}id="archive"{%endblock%} +{% block primary %} +

How did you get here? You URL chopping maniac you. Right on.

+ +

{% if type == 'year' %}{{date}}, on luxagraf{%else%} Archive: {{date}} {% endif %}

{% if type == 'year' %} + {% else %} + + {% endif %} +{% endblock%} -- cgit v1.2.3