comparison 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
comparison
equal deleted inserted replaced
33:be1aebaccac0 34:5fd910d48192
21 21
22 {% endblock metadata %} 22 {% endblock metadata %}
23 {% endblock header %} 23 {% endblock header %}
24 </header> 24 </header>
25 25
26 <div class="content"> 26 <div class="content{{' text' if not item.content_xhtml}}">
27 {% block content %} 27 {% block content %}
28 {{ item.content_xhtml or item.content or ''}} 28 {{ item.content_xhtml or item.content or ''}}
29 {% endblock content %} 29 {% endblock content %}
30 </div> 30 </div>
31 31