Fix up for django 1.10
[sommitrealweird.git] / sommitrealweird / blog / templates / blog / blog_index.html
index fa2ea726038314bf9ef7d35ca55d56084b3e5148..f2ede847ed3117dfc7a9e1b96c191d6c1e67bad5 100644 (file)
@@ -1,8 +1,9 @@
 {% extends "base.html" %}
-{% load markup %}
+{% load xhtml11rst %}
 
-{% block title %}
-{{ entry.title|escape }}
+{% block extrahead %}
+<link rel="alternate" type="application/atom+xml" title="iDunno's Blog - Atom Feed" href="{{ BLOG_FEED_ROOT }}" />
+<link rel="alternate" type="application/rss+xml" title="iDunno's Blog - RSS Feed" href="{{ BLOG_FEED_ROOT }}rss/" />
 {% endblock %}
 
 {% block content %}
@@ -24,7 +25,7 @@
                         {% endif %}
                     {% endif %}
                 {% endfor %}
-                <a href="{{ entry.get_absolute_url }}">permalink</a></p>
+                <a href="{{ entry.get_absolute_url }}">permalink</a></p>
         {% endfor %}
         {% if paginated and has_more_than_one_page %}
             <p class="paginator">Pages: