From 34ab07739eaa73711fd780cb5668b6470794eb02 Mon Sep 17 00:00:00 2001 From: DeathByDenim Date: Sun, 23 Apr 2023 12:27:49 -0400 Subject: [PATCH] Make home page aware of upcoming event --- website/_data/events.yml | 20 ++++++++++++++++++++ website/index.html | 10 ++++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/website/_data/events.yml b/website/_data/events.yml index 28b6f62..2312bcd 100644 --- a/website/_data/events.yml +++ b/website/_data/events.yml @@ -1,3 +1,23 @@ +- date: 2023-05-06T12:00:00UTC + intro: "onFOSS-LAN hosted by hribhrib" + games: + - time: "12:00" + title: "Get and chill together" + - time: "13:00" + title: "OpenSpades" + - time: "14:30" + title: "Blockbomber" + - time: "15:30" + title: "Break" + - time: "16:00" + title: "Xonotic" + tournament: true + - time: "18:00" + title: "Break" + - time: "18:30" + title: "OpenHV" + - time: "20:00" + title: "Mindustry" - date: 2022-12-17T14:00:00UTC intro: "onFOSS-LAN hosted by DeathByDenim" games: diff --git a/website/index.html b/website/index.html index db61c0d..cd12df5 100644 --- a/website/index.html +++ b/website/index.html @@ -15,9 +15,15 @@ nav_pill: home

This concept was originally started at hribhrib.at

Next event

-

Saturday 17 December 2022, 14:00 UTC

- + {% assign sitetime = site.time | date: "%FT%T" %} + {% assign upcoming = site.data.events | where_exp: "item", "item.date >= sitetime" | last %} + {% if upcoming %} +

{{ upcoming.date | date: "%A %e %B %Y, %R" }} UTC

+

See schedule for more information.

+ {% else %} +

No next event has been scheduled yet.

+ {% endif %}

Communication

We use Mumble voice chat on mumble://hribhrib.at. It is the main mode of cummunication during the event.

We also have regular text chat for any time use. You can choose the protocol you like and the program you like, they all point to the same thing in the end