From 46f0dcf1b9aa504ad03d5451ef73c236e554ceb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 28 Jan 2019 17:58:29 -0500 Subject: [PATCH] Format source code (indenting) --- .../field--field-body-paragraph--rss-teaser.html.twig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/agaric/templates/field/field--field-body-paragraph--rss-teaser.html.twig b/agaric/templates/field/field--field-body-paragraph--rss-teaser.html.twig index 513220c..149d68d 100644 --- a/agaric/templates/field/field--field-body-paragraph--rss-teaser.html.twig +++ b/agaric/templates/field/field--field-body-paragraph--rss-teaser.html.twig @@ -40,10 +40,10 @@ {% set one_and_done = false %} {% for item in items if not one_and_done %} - {% if item.content['#paragraph'].type.0.entity.id == 'text' %} - {% set one_and_done = true %} - {{ item.content|render|escape }} - {% endif %} + {% if item.content['#paragraph'].type.0.entity.id == 'text' %} + {% set one_and_done = true %} + {{ item.content|render|escape }} + {% endif %} {% endfor %} {# 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!