From d1a106ab7d50260b874cf4f8a8141f25ec7d4475 Mon Sep 17 00:00:00 2001 From: Corne Oppelaar Date: Tue, 21 Jun 2016 12:21:54 +0200 Subject: [PATCH] fix extra space in the contributors list --- views/home.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/home.html.twig b/views/home.html.twig index c4790a4..262ea8c 100644 --- a/views/home.html.twig +++ b/views/home.html.twig @@ -40,10 +40,10 @@ {% if contributors|length > 0 %}

with the help of - {% for contributor in contributors %} - {% if loop.index0 < (loop.length - 1) and loop.index0 > 0 %}, {% elseif loop.index0 == (loop.length - 1) %} and {% endif %} + {% for contributor in contributors -%} + {%- if loop.index0 < (loop.length - 1) and loop.index0 > 0 %}, {% elseif loop.index0 == (loop.length - 1) %} and {% endif -%} {{ contributor.login }} - {% endfor %} + {%- endfor %}

{% endif %}