From 2fbdaef835569174d7656785ecf870d814f80f25 Mon Sep 17 00:00:00 2001 From: Aleksandra Nenadic Date: Fri, 30 Sep 2016 16:10:04 +0100 Subject: [PATCH] Small formatting improvement. --- index.html | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index e051ead..d8e81b7 100644 --- a/index.html +++ b/index.html @@ -157,20 +157,19 @@ and the administrator will contact you if we need any extra information. Contact: Please email {% if page.contact %} - {% for contact in page.contact: %} - {% if forloop.last and page.contact.size > 1 %} - or + {% for contact in page.contact: %} + {% if forloop.last and page.contact.size > 1 %} + or + {% else %} + {% unless forloop.first %} + , + {% endunless %} + {% endif %} + {{contact}} + {% endfor %} {% else %} - {% unless forloop.first %} - , - {% endunless %} + to-be-announced {% endif %} - {{contact}} - {% endfor %} - {% else %} - to-be-announced - {% endif %} - for more information.