From: Brett Parker Date: Mon, 30 Mar 2009 00:23:31 +0000 (+0100) Subject: Update blog templates in an effort to make them XHTML1.1 compliant X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/commitdiff_plain/8ad5847821fd7e03f3216e154c06f24d67af89f1?ds=inline;hp=-c Update blog templates in an effort to make them XHTML1.1 compliant --- 8ad5847821fd7e03f3216e154c06f24d67af89f1 diff --git a/sommitrealweird/blog/templates/blog/blog_index.html b/sommitrealweird/blog/templates/blog/blog_index.html index 395c8e8..a7ed4f1 100644 --- a/sommitrealweird/blog/templates/blog/blog_index.html +++ b/sommitrealweird/blog/templates/blog/blog_index.html @@ -5,7 +5,9 @@ {% if entries %} {% for entry in entries %}

{{ entry.title|escape }}

+
{{ entry.content|restructuredtext }} +

Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} in {% for section in entry.sections.all %} {% if forloop.first %} diff --git a/sommitrealweird/blog/templates/blog/single_entry_rst.html b/sommitrealweird/blog/templates/blog/single_entry_rst.html index e2bd8c7..d8dbd10 100644 --- a/sommitrealweird/blog/templates/blog/single_entry_rst.html +++ b/sommitrealweird/blog/templates/blog/single_entry_rst.html @@ -4,7 +4,9 @@ {% block content %}

{{ entry.title }}

+
{{ entry.content|restructuredtext }} +

Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} {% if entry.sections.count %} in