rf-web/_layouts/participant.html
2020-08-17 01:00:02 +02:00

42 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>
<img src="{{page.pic}}" alt="" class="participant-profile">
</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>