comparison sat_templates/templates/bulma/blog/item.html @ 344:e982a05d43b1

blog/item, css: fix `white-space` for text content
author Goffi <goffi@goffi.org>
date Thu, 21 Oct 2021 17:19:39 +0200
parents ce2fd7a3911d
children ddcdc0475940
comparison
equal deleted inserted replaced
343:d28816a65b7f 344:e982a05d43b1
56 {% endfor %} 56 {% endfor %}
57 {% endif %} 57 {% endif %}
58 </small> 58 </small>
59 {% endif %} 59 {% endif %}
60 </p> 60 </p>
61 <p> 61 {% if item.content_xhtml is defined %}
62 {{- item.content_xhtml|safe if item.content_xhtml is defined else item.content|urlize -}} 62 {{item.content_xhtml|safe}}
63 </p> 63 {% else %}
64 <p class="is-text-content">
65 {{- item.content|urlize -}}
66 </p>
67 {% endif %}
64 {% for comments_data in item.comments %} 68 {% for comments_data in item.comments %}
65 {% for item in comments_data['items'] %} 69 {% for item in comments_data['items'] %}
66 {% include 'blog/item.html' %} 70 {% include 'blog/item.html' %}
67 {% endfor %} 71 {% endfor %}
68 {% if allow_commenting and item_level == 1 %} 72 {% if allow_commenting and item_level == 1 %}