1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-22 09:36:52 +01:00
website/_src/_includes/board.html

42 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2018-10-01 13:42:22 +02:00
<div class="board grid grid--full grid-small--half grid--gutters">
2018-10-01 14:45:12 +02:00
{% assign board = site.data.board %}
2018-10-01 13:42:22 +02:00
{% for member in board %}
2018-10-01 14:45:12 +02:00
{% assign slug = (member.name | downcase | replace: ' ', '-' | replace: 'ü', 'ue') %}
<div class="grid__col">
<div class="boardmember">
<div class="boardmember__info">
<img class="boardmember__avatar" src="/assets/img/board/{{ slug }}.jpg">
<div class="boardmember__meta">
<h1 class="boardmember__name">
{% if member.prefix %}{{ member.prefix }} {% endif %}
{{ member.name }}
</h1>
<p class="boardmember__position">{{ member.position }}</p>
{% if member.social %}
<p class="boardmember__social">
{% for item in member.social %}
<a href="{{ item.link }}" title="{{ item.name }}">
<svg class="icon" aria-labelledby="title">
<title>{{ item.name }}</title>
<use xlink:href="/assets/img/sprite.svg#icon-{{ item.name | downcase }}"></use>
</svg>
</a>
{% endfor %}
</p>
{% endif %}
2018-10-01 13:42:22 +02:00
</div>
</div>
2018-10-01 14:45:12 +02:00
<div class="boardmember__bio">{{ member.bio | markdownify }}</div>
2018-10-01 13:42:22 +02:00
</div>
2018-10-01 14:45:12 +02:00
</div>
2018-10-01 13:42:22 +02:00
{% endfor %}
</div>