Add livestreaming

This commit is contained in:
DeathByDenim 2023-09-23 07:39:09 -04:00
parent 1b74f69c8a
commit 4a76ba75ed
Signed by: DeathByDenim
GPG Key ID: 89185F675E0AB7D5
1 changed files with 10 additions and 0 deletions

View File

@ -18,11 +18,21 @@ nav_pill: home
</p>
<p>This concept was originally started at <a target="_blank" href="https://hribhrib.at/">hribhrib.at</a></p>
<h1>Next event</h1>
<!--https://talk.jekyllrb.com/t/site-time-tomorrow/6658-->
{% assign sitetime = site.time | date: "%FT%T" %}
{% assign upcoming = site.data.events | where_exp: "item", "item.date >= sitetime" | last %}
{% if upcoming %}
<h4 class="eventdate" data-event-datetime="{{ upcoming.date }}">{{ upcoming.date | date: "%A %e %B %Y, %R" }} UTC</h4>
<p>See <a href="schedule.html">schedule</a> for more information.</p>
<h4>Live streaming</h4>
<iframe
src="https://live.hribhrib.at/embed/video"
title="Owncast"
height="525px" width="825px"
referrerpolicy="origin"
scrolling="no"
allowfullscreen>
</iframe>
{% else %}
<p>No next event has been scheduled yet.</p>
{% endif %}