1
0
mirror of https://github.com/ipdb/website.git synced 2024-12-28 23:57:45 +01:00
website/_src/_includes/caretakers.html
2017-09-04 14:35:55 +02:00

20 lines
759 B
HTML

<div class="caretakers grid grid--half grid-medium--fit grid-medium--columns grid--justifycenter grid--gutters">
{% assign caretakers = (site.data.caretakers | sort: 'date') %}
{% for caretaker in caretakers %}
{% assign slug = (caretaker.name | downcase | replace: ' ', '-' | replace: '.', '-') %}
<div class="grid__col grid__col--1">
<a class="caretaker" href="{{ caretaker.link }}" rel="external">
<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>
</a>
</div>
{% endfor %}
</div>