SiteWebAstrolabe/src/_includes/partials/components/member.njk

37 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-07-07 00:09:37 +02:00
{% extends 'layouts/base.njk' %}
{% set title = name %}
{% block content %}
<main id="main-content" tabindex="-1">
2020-07-13 20:36:44 +02:00
<div class="[ wrapper member ]">
<article class="[ member__wrapper ]">
<div>
<h1>{{ name }}</h1>
<h2>{{ position }}</h2>
<div class="member__bio">{{ content | safe }}</div>
{% if personalSite %}
<p>
<span>site perso :</span>
<a href="{{ personalSite }}" class="social">{{ personalSite }}</a>
</p>
{% endif %}
{% if socialTwitter %}
<a href="{{ socialTwitter }}" class="social">Twitter</a>
{% endif %}
{% if socialLinkedin %}
<a href="{{ socialLinkedin }}" class="social">Linkedin</a>
{% endif %}
{% if socialMastodon %}
<a href="{{ socialMastodon }}" class="social">Mastodon</a>
{% endif %}
</div>
<div>
<img src="{{ profile }}" alt="profile de {{ name }}">
</div>
</article>
<a class="return-link" href="/equipe">Voir tous les membres</a>
</div>
2020-07-07 00:09:37 +02:00
</main>
{% endblock %}