add inline html
[django-migdal.git] / migdal / templates / migdal / entry / entry_detail.html
index c19b49b..58a9491 100644 (file)
@@ -6,7 +6,7 @@
 {% block "titleextra" %}{{ entry.title }} :: {% endblock %}
 {% block "ogtitle" %}{{ entry.title }}{% endblock %}
 {% block "ogtype" %}article{% endblock %}
-{% block "ogdescription"%}{{ entry.lead|striptags|truncatewords:10 }}{% endblock %}
+{% block "ogdescription"%}{{ entry.lead|striptags|truncatewords:16 }}{% endblock %}
 {% block "ogimage" %}{% spaceless %}
 {% if entry.image %}
     {{ entry.image.url|build_absolute_uri:request }}
 {% 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>