From 8d8992a8b51c182f26d33ff4c95c50c5f9d587f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 19 Jan 2019 21:19:12 -0500 Subject: [PATCH] Override author field for dc:creator --- .../field/field--node--field-authors--rss-teaser.html.twig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 agaric/templates/field/field--node--field-authors--rss-teaser.html.twig 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 new file mode 100644 index 0000000..54dbe71 --- /dev/null +++ b/agaric/templates/field/field--node--field-authors--rss-teaser.html.twig @@ -0,0 +1,6 @@ + +{% 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 %} +{% endfor %} +