Mercurial > libervia-templates
changeset 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 (2017-06-30) |
parents | be1aebaccac0 |
children | 581e2cd4bcc2 |
files | default/blog/item.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 %}