From bed84ea1e66493afcb64114352b63ef054f9ee58 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 30 May 2019 19:30:04 +0100 Subject: [PATCH] Negate the bottom margin below sponsor sections --- source/sponsors.html.twig | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/source/sponsors.html.twig b/source/sponsors.html.twig index 05b091b..a47e294 100644 --- a/source/sponsors.html.twig +++ b/source/sponsors.html.twig @@ -7,25 +7,26 @@ title: Sponsors

If you'd like to get involved with sponsorship, head over to our Sponsorship page. We'll be on the lookout for new sponsors up until the day of the event.

-{% for level in site.sponsorship_levels %} +
+ {% for level in site.sponsorship_levels %} {% set sponsors = getSponsors(site.sponsors, level) %} {% if sponsors %} -
-

{{ level ~ ' Sponsors'|capitalize }}

- -
- {% for sponsor in sponsors %} -
- {% set template = (level == 'gold') ? 'sponsors/full' : 'sponsors/teaser' %} - {% include template with { - description: sponsor.description, - logo: sponsor.logo, - name: sponsor.name, - url: sponsor.url, - } %} -
- {% endfor %} -
-
+
+

{{ level ~ ' Sponsors'|capitalize }}

+
+ {% for sponsor in sponsors %} +
+ {% set template = (level == 'gold') ? 'sponsors/full' : 'sponsors/teaser' %} + {% include template with { + description: sponsor.description, + logo: sponsor.logo, + name: sponsor.name, + url: sponsor.url, + } %} +
+ {% endfor %} +
+
{% endif %} -{% endfor %} + {% endfor %} +