diff default/blog/item.html @ 34:5fd910d48192

blog/item: "text" class is added for non XHTML content
author Goffi <goffi@goffi.org>
date Sat, 01 Jul 2017 00:22:36 +0200
parents 16818343fc43
children baa0942d6b45
line wrap: on
line diff
--- a/default/blog/item.html	Sat Jul 01 00:21:56 2017 +0200
+++ b/default/blog/item.html	Sat Jul 01 00:22:36 2017 +0200
@@ -23,7 +23,7 @@
         {% endblock header %}
     </header>
 
-    <div class="content">
+    <div class="content{{' text' if not item.content_xhtml}}">
         {% block content %}
         {{ item.content_xhtml or item.content or ''}}
         {% endblock content %}