grav-theme-libretic/templates/modular/team.html.twig

33 lines
1.2 KiB
Twig
Raw Normal View History

2015-01-27 09:27:42 +01:00
<div class="modular-row team">
2020-12-13 01:32:27 +01:00
{{ content|raw }}
2015-01-27 09:27:42 +01:00
<div class="members">
{% for member in page.header.members %}
<div class="member">
<img src="{{page.media[member.image].url}}" alt="">
<h4>{{ member.name }}</h4>
<span>{{ member.title }}</span>
<hr>
<p>{{ member.info }}</p>
<ul class="social-icons">
{% if member.social_mastodon is defined %}
<li>
<a href="{{ member.social_mastodon }}" target="_blank"><i class="fa fa-brands fa-mastodon"></i></a>
</li>
{% endif %}
{% if member.social_web is defined %}
<li>
<a href="{{ member.social_web }}" target="_blank"><i class="fa fa-brands fa-firefox-browser"></i></a>
</li>
{% endif %}
{% if member.social_rss is defined %}
<li>
<a href="{{ member.social_rss }}" target="_blank"><i class="fa fa-rss"></i></a>
</li>
{% endif %}
2015-01-27 09:27:42 +01:00
</ul>
</div>
{% endfor %}
</div>
<div class="callout-line"></div>
</div>