rf-web/_layouts/participant.html
2020-08-17 22:11:19 +02:00

44 lines
1.1 KiB
HTML

---
layout: page
lang: en
ref: going-online
---
<article class="page-content margin-128-bottom participant">
<div class="content post-item">
<header class="post-header">
<h2>{{ page.fullname }}</h2>
{% if page.pic %}
<img src="{{ page.pic }}" alt="" class="participant-profile">
{% endif %}
</header>
<div class="post-content margin-16-bottom">
<h2>
About {{ page.fullname }}
</h2>
<p>
{{ page.bio }}
</p>
{% for site in page.links %}
<a class="block with-url-arrow" href="{{ site }}">{{ site | remove_first: "https://" | remove_first: "http://" | remove_first: "www." }}</a>
{% endfor %}
</div>
<div class="post-content margin-16-bottom inline-block">
<h3>
{{ page.fullname }}'s Events:
</h3>
{% for event in site.data.rf2020.events %}
{% for id in event.participants %}
{% if page.id == id %}
<a class="block with-url-arrow" href="/rf2020/events/{{ event.ref }}.html">{{ event.title_ }}</a>
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>
</article>