rf-web/_layouts/event.html

71 lines
2.2 KiB
HTML
Raw Normal View History

2020-07-29 16:24:30 +00:00
---
layout: page
lang: en
parentEn: /rf2020/program
parentFr: /fr/rf2020/programme
parentNameEn: program
parentNameFr: programme
2020-07-29 16:24:30 +00:00
---
{% assign format=page.format | downcase %}
2020-09-11 09:43:26 +00:00
{% capture regLink %}
{% if format == 'workshop' and page.registration-link %}
<div class="textbox margin-16-bottom">
<a class="with-url-arrow" href="{{ page. registration-link }}">register to participate in this workshop</a>
</div>
{% endif %}
{% endcapture %}
<article class="page-content margin-64-bottom event">
2020-07-29 16:24:30 +00:00
<div class="content post-item">
<header class="post-header flex flex-align-end">
<div class="flex flex-col">
<h2>
{{ page.title_ | strip }}
<small>
[{{ page.format | strip }}]
</small>
</h2>
</div>
<img src="{{ page.pic }}" alt="" class="participant-profile">
</header>
2020-09-11 09:43:26 +00:00
<div class="flex flex-row flex-justify-space-between flex-wrap-m margin-16-bottom">
<div class="textbox margin-16-bottom-m flex-1 hosts">
<h3>
Hosting this {{ format }}:
</h3>
{% for id in page.participants %}
{% for participant in site.data.rf2020.participants %}
{% if participant.id == id %}
<a class="block with-url-arrow" href="/rf2020/participants/{{ participant.ref }}.html">{{ participant.fullname }}</a>
{% endif %}
{% endfor %}
{% endfor %}
</div>
{% if format != 'artwork' %}
<div class="textbox">
<h3 class="text-right">{% include utils/translated-date.html date=page.date lang=page.lang %}</h3>
<h3 class="margin-0 text-right">{{ page.date | date: "%H:%M" }}<small class="sup">(CEST)</small></h3>
</div>
{% endif %}
</div>
<div class="post-content margin-16-bottom">
{% if page.youtube %}
2020-08-21 18:25:52 +00:00
{% include embeds/youtube.html slug=page.youtube %}
{% endif %}
2020-07-29 16:24:30 +00:00
<p>
{{ page.description | markdownify }}
</p>
2020-08-31 11:45:05 +00:00
{% for link in page.links %}
<a class="block with-url-arrow" href="{{ link }}">{{ link | remove_first: "https://" | remove_first: "http://" | remove_first: "www." }}</a>
{% endfor %}
2020-07-29 16:24:30 +00:00
</div>
2020-09-11 09:43:26 +00:00
{{ regLink }}
2020-07-29 16:24:30 +00:00
</div>
2020-09-11 09:43:26 +00:00
2020-07-29 16:24:30 +00:00
</article>