2017-08-24 15:02:12 +02:00
|
|
|
<div class="caretakers grid grid--half grid-medium--fit grid-medium--columns grid--justifycenter grid--gutters">
|
|
|
|
|
2017-09-07 14:05:37 +02:00
|
|
|
{% assign caretakers = (site.data.caretakers | sort: 'name') %}
|
2017-08-24 15:02:12 +02:00
|
|
|
|
|
|
|
{% for caretaker in caretakers %}
|
|
|
|
|
2017-09-04 14:35:55 +02:00
|
|
|
{% assign slug = (caretaker.name | downcase | replace: ' ', '-' | replace: '.', '-') %}
|
2017-08-24 15:02:12 +02:00
|
|
|
|
2017-09-07 14:05:37 +02:00
|
|
|
<div class="grid__col grid__col--2">
|
2017-08-24 15:02:12 +02:00
|
|
|
<a class="caretaker" href="{{ caretaker.link }}" rel="external">
|
2017-09-26 11:12:02 +02:00
|
|
|
{% if caretaker.logo == false %}
|
|
|
|
<span class="caretaker__name">{{ caretaker.name }}</span>
|
|
|
|
{% else %}
|
|
|
|
<svg class="logo-caretaker logo-caretaker--{{ slug }}" aria-labelledby="title">
|
|
|
|
<title>{{ caretaker.name }}</title>
|
|
|
|
<use xlink:href="/assets/img/sprite.svg#logo-{{ slug }}"></use>
|
|
|
|
</svg>
|
|
|
|
{% endif %}
|
|
|
|
|
2017-08-24 15:02:12 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|