From 8ad5847821fd7e03f3216e154c06f24d67af89f1 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Mon, 30 Mar 2009 01:23:31 +0100 Subject: [PATCH 1/1] Update blog templates in an effort to make them XHTML1.1 compliant --- sommitrealweird/blog/templates/blog/blog_index.html | 2 ++ sommitrealweird/blog/templates/blog/single_entry_rst.html | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.39.5