]> git.sommitrealweird.co.uk Git - sommitrealweird.git/commitdiff
Update blog templates in an effort to make them XHTML1.1 compliant
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Mon, 30 Mar 2009 00:23:31 +0000 (01:23 +0100)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Mon, 30 Mar 2009 00:23:31 +0000 (01:23 +0100)
sommitrealweird/blog/templates/blog/blog_index.html
sommitrealweird/blog/templates/blog/single_entry_rst.html

index 395c8e83d9d67db0a8a7c3a5c211dba1e888e841..a7ed4f1295cd30eca2b8ceb99b816bb7a25367b9 100644 (file)
@@ -5,7 +5,9 @@
     {% if entries %}
         {% for entry in entries %}
             <h1>{{ entry.title|escape }}</h1>
+            <div class="blogentry">
             {{ entry.content|restructuredtext }}
+            </div>
             <p>Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} in 
                 {% for section in entry.sections.all %}
                     {% if forloop.first %}
index e2bd8c7f5eb2d51ff2b90e862b911e0fa85cc0f8..d8dbd10bab8fc5bcb9541b9885390eb5dd9f319e 100644 (file)
@@ -4,7 +4,9 @@
 
 {% block content %}
 <h1>{{ entry.title }}</h1>
+<div class="blogentry">
 {{ entry.content|restructuredtext }}
+</div>
 <p>Posted: {{ entry.publish_date|date:"Y-m-d H:i" }} 
     {% if entry.sections.count %}
     in