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 %} +