Support for rel="canonical"
[django-migdal.git] / migdal / templates / migdal / entry / entry_detail.html
index 2e71d35..148e647 100644 (file)
 {% endif %}
 {% endspaceless %}{% endblock %}
 
+{% block "headextra" %}
+    {% if entry.canonical_url %}<link rel="canonical" href="{{ entry.canonical_url }}"/>{% endif %}
+{% endblock %}
+
 
 {% block "body" %}
 
 {% entry_begin entry 1 %}
 <div class="body">
 {{ entry.body }}
+
+{% for inline_html in entry.inline_html %}
+<div class="inline_html">
+    {{ inline_html|safe }}
+</div>
+{% endfor %}
+
 </div>
 
 <div style="clear: both;"></div>