Fix up for django 1.10
[sommitrealweird.git] / sommitrealweird / blog / templates / blog / single_entry_rst.html
index e2bd8c7f5eb2d51ff2b90e862b911e0fa85cc0f8..695df776257a034672425a962163e783c4ffffcc 100644 (file)
@@ -1,10 +1,14 @@
 {% extends "base.html" %}
 
-{% load markup %}
+{% load xhtml11rst %}
+
+{%block title %}{{ entry.title }}{% endblock %}
 
 {% 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 
@@ -20,6 +24,6 @@
         {% endif %}
     {% endfor %}
     {% endif %}
-    <a href="{{ entry.get_absolute_url }}">permalink</a>
+    <a href="{{ entry.get_absolute_url }}">permalink</a>
 </p>
 {% endblock %}