From 8c3e1dcc88e3cedacd0eae9110e415567d4f70b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 19 Jan 2019 22:01:41 -0500 Subject: [PATCH] Per RSS conventions multiple authors means multiple dc:creator tags See http://www.rssboard.org/rss-profile --- .../field/field--node--field-authors--rss-teaser.html.twig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/agaric/templates/field/field--node--field-authors--rss-teaser.html.twig b/agaric/templates/field/field--node--field-authors--rss-teaser.html.twig index 54dbe71..4f9cb5b 100644 --- a/agaric/templates/field/field--node--field-authors--rss-teaser.html.twig +++ b/agaric/templates/field/field--node--field-authors--rss-teaser.html.twig @@ -1,6 +1,5 @@ - {% for item in items %} - {% if loop.length > 1 and loop.index == loop.length %}and {% endif %} - {{ item.content }}{% if loop.length > 2 and not loop.last %}, {% endif %} + + {{ item.content }} + {% endfor %} -