Format source code (indenting)

This commit is contained in:
benjamin melançon 2019-01-28 17:58:29 -05:00
parent 581ad066ac
commit 46f0dcf1b9

View file

@ -40,10 +40,10 @@
<description> <description>
{% set one_and_done = false %} {% set one_and_done = false %}
{% for item in items if not one_and_done %} {% for item in items if not one_and_done %}
{% if item.content['#paragraph'].type.0.entity.id == 'text' %} {% if item.content['#paragraph'].type.0.entity.id == 'text' %}
{% set one_and_done = true %} {% set one_and_done = true %}
{{ item.content|render|escape }} {{ item.content|render|escape }}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{# the closing description tag is found in the RSS view template so that we can {# the closing description tag is found in the RSS view template so that we can
add a Read more link — we don't have the node information to make it here! add a Read more link — we don't have the node information to make it here!