2017-04-13 12:49:17 +02:00
|
|
|
<!--
|
|
|
|
//////////////////////////////////
|
|
|
|
HEADS UP!
|
|
|
|
|
|
|
|
By default, this section spits out all partners added to the `_partners` collection.
|
|
|
|
You can limit those on a per-page basis by defining a partners.logos array in the YAML front
|
|
|
|
matter like so:
|
|
|
|
|
|
|
|
partners:
|
|
|
|
title: "Proudly Trusted By"
|
|
|
|
description: "La la la"
|
|
|
|
logos:
|
|
|
|
- innogy
|
|
|
|
- mongodb
|
|
|
|
- microsoft
|
|
|
|
//////////////////////////////////
|
|
|
|
-->
|
|
|
|
|
|
|
|
<section class="section section--partners">
|
2016-11-14 11:59:16 +01:00
|
|
|
<div class="row">
|
|
|
|
<header class="section-header">
|
2017-04-13 12:49:17 +02:00
|
|
|
<h1 class="section-title">
|
|
|
|
{% if page.partners.title %}
|
|
|
|
{{ page.partners.title }}
|
|
|
|
{% else %}
|
|
|
|
Partners
|
|
|
|
{% endif %}
|
|
|
|
</h1>
|
|
|
|
<p class="section-description">
|
|
|
|
{% if page.partners.description %}
|
|
|
|
{{ page.partners.description }}
|
|
|
|
{% else %}
|
2020-05-25 10:51:54 +02:00
|
|
|
Partnerships and collaborations have included
|
2017-04-13 12:49:17 +02:00
|
|
|
{% endif %}
|
|
|
|
</p>
|
2016-11-14 11:59:16 +01:00
|
|
|
</header>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row row--wide">
|
2017-04-18 17:41:35 +02:00
|
|
|
<article class="grid grid--half grid-medium--fit grid-medium--columns grid--justifycenter grid--gutters">
|
2016-11-14 11:59:16 +01:00
|
|
|
|
2017-04-13 12:49:17 +02:00
|
|
|
{% if page.partners.logos %}
|
|
|
|
{% assign partners_sorted = page.partners.logos %}
|
|
|
|
{% else %}
|
|
|
|
{% assign partners_sorted = (site.partners | sort: 'date') %}
|
|
|
|
{% endif %}
|
2016-11-14 11:59:16 +01:00
|
|
|
|
2017-04-13 12:49:17 +02:00
|
|
|
{% assign partners_page = page.partners %}
|
2016-11-14 11:59:16 +01:00
|
|
|
|
2017-04-13 12:49:17 +02:00
|
|
|
{% for partner in partners_sorted %}
|
2017-04-06 17:22:24 +02:00
|
|
|
<div class="grid__col grid__col--1">
|
|
|
|
|
2017-04-13 12:49:17 +02:00
|
|
|
<span class="partner">
|
2017-04-19 17:28:57 +02:00
|
|
|
{% if page.partners.logos %}
|
|
|
|
<svg class="partner__logo partner__logo--{{ partner }}" aria-labelledby="title">
|
|
|
|
<title>{{ partner }}</title>
|
|
|
|
<use xlink:href="/assets/img/sprite.svg#logo-{{ partner }}"></use>
|
|
|
|
</svg>
|
|
|
|
{% else %}
|
2017-04-13 12:49:17 +02:00
|
|
|
<svg class="partner__logo partner__logo--{{ partner.slug }}" aria-labelledby="title">
|
|
|
|
<title>{{ partner.title }}</title>
|
|
|
|
<use xlink:href="/assets/img/sprite.svg#logo-{{ partner.slug }}"></use>
|
|
|
|
</svg>
|
2017-04-19 17:28:57 +02:00
|
|
|
{% endif %}
|
|
|
|
</span>
|
2017-04-06 17:22:24 +02:00
|
|
|
|
|
|
|
</div>
|
2016-11-14 11:59:16 +01:00
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|