From bac12a5449a30051a96a8ceadf69075426a10179 Mon Sep 17 00:00:00 2001 From: Rolf Amfelt Date: Sun, 28 Jan 2024 14:30:44 +0100 Subject: [PATCH] testing events extra --- _data/events.yml | 10 +++++++++- _layouts/base.html | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/_data/events.yml b/_data/events.yml index d6c49ee..0ed7585 100755 --- a/_data/events.yml +++ b/_data/events.yml @@ -70,29 +70,37 @@ # - danish_title: "Søndag d. 28. januar 2024" - danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder.
Oplæg: Jesper Lund ca. kl 14" + danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder." + danish_text_extra: "Oplæg: Jesper Lund ca. kl 14" english_title: "Sunday January 28th 2024" english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee" + english_text_extra: "" time: "13:00-17:00" current: true - danish_title: "Søndag d. 25. februar 2024" danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder." + danish_text_extra: "" english_title: "Sunday February 25th 2024" english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee" + english_text_extra: "" time: "13:00-17:00" current: false - danish_title: "Søndag d. 31. marts 2024" danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder." + danish_text_extra: "" english_title: "Sunday March 31th 2024" english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee" + english_text_extra: "" time: "13:00-17:00" current: false - danish_title: "Søndag d. 28. april 2024" danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder." + danish_text_extra: "" english_title: "Sunday April 28th 2024" english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee" + english_text_extra: "" time: "13:00-17:00" current: false \ No newline at end of file diff --git a/_layouts/base.html b/_layouts/base.html index 885740d..d64bb38 100755 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -188,6 +188,13 @@ {{ event.danish_text }} {% endif %}

+

+ {% if page.language == "en" %} + {{ event.english_text_extra }} + {% else %} + {{ event.danish_text_extra }} + {% endif %} +

{{ site.data.strings[section_events_time] }}
{{ event.time }}