rf-web/_layouts/event.html

62 lines
2.0 KiB
HTML
Raw Normal View History

2020-07-29 16:24:30 +00:00
---
layout: page
lang: en
2020-08-21 18:25:52 +00:00
parent: /rf2020/program
2020-07-29 16:24:30 +00:00
---
{% assign format=page.format | downcase %}
<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">
<div class="flex flex-col">
<h2>
{{ page.title_ | strip }}
<small>
[{{ page.format | strip }}]
</small>
</h2>
</div>
</header>
<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-07-29 16:24:30 +00:00
</div>
<div class="details">
<div class="flex flex-row flex-justify-space-between flex-wrap-m margin-16-bottom">
2020-08-21 18:25:52 +00:00
<div class="textbox margin-16-bottom-m flex-1">
<h3>
In 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>
2020-08-21 18:25:52 +00:00
{% if format != 'artwork' %}
<div class="textbox inline-block margin-16-left-d">
<h3>
Event date/time<span class="sup">*</span>:
</h3>
<p>
{{ page.date | date: "%d.%m.%y" }}
</p>
</div>
{% endif %}
</div>
2020-08-21 18:25:52 +00:00
<div class="text-right-d flex flex-justify-start"><small class="textbox"><span class="sup">*</span>{{ site.data.translations.event_time_soon[page.lang]}}</small></div>
{% if format == 'workshop' %}
2020-08-21 18:25:52 +00:00
<div class="text-right-d flex flex-justify-start"><small class="textbox">{{ site.data.translations.registration_coming[page.lang]}}</small></div>
{% endif %}
</div>
2020-07-29 16:24:30 +00:00
</div>
</article>