diff --git a/data/cosin.toml b/data/cosin.toml index d162510..f50167d 100644 --- a/data/cosin.toml +++ b/data/cosin.toml @@ -50,6 +50,10 @@ schedule_day_urls = [ "https://www.cosin.ch/fahrplan/2019/schedule/3.html"] +streaming_available = true +streaming_main_url = "https://streaming.cosin.ch" + + irc_server = "ircs://irc.chaostreff.ch:6601/" irc_channel = "#cosin" diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.de.html b/themes/cosin-theme/layouts/partials/site-sidebar.de.html index 80ddab1..365a5bb 100644 --- a/themes/cosin-theme/layouts/partials/site-sidebar.de.html +++ b/themes/cosin-theme/layouts/partials/site-sidebar.de.html @@ -49,6 +49,13 @@ Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year {{ end }} +{{ if .streaming_available }} +

Videostreaming: + Live +

+{{ end }} + +

IRC: {{ .irc_channel }}

{{ end }} diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.en.html b/themes/cosin-theme/layouts/partials/site-sidebar.en.html index abf6869..876278a 100644 --- a/themes/cosin-theme/layouts/partials/site-sidebar.en.html +++ b/themes/cosin-theme/layouts/partials/site-sidebar.en.html @@ -49,6 +49,13 @@ Open until {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year {{ end }} +{{ if .streaming_available }} +

Videostreaming: + Live +

+{{ end }} + +

IRC: {{ .irc_channel }}

{{ end }} diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.fr.html b/themes/cosin-theme/layouts/partials/site-sidebar.fr.html index 339cdcf..e2c0554 100644 --- a/themes/cosin-theme/layouts/partials/site-sidebar.fr.html +++ b/themes/cosin-theme/layouts/partials/site-sidebar.fr.html @@ -49,6 +49,13 @@ Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year {{ end }} +{{ if .streaming_available }} +

Videostreaming: + Live +

+{{ end }} + +

IRC: {{ .irc_channel }}

{{ end }} diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.it.html b/themes/cosin-theme/layouts/partials/site-sidebar.it.html index 8edfb05..a774b2a 100644 --- a/themes/cosin-theme/layouts/partials/site-sidebar.it.html +++ b/themes/cosin-theme/layouts/partials/site-sidebar.it.html @@ -49,6 +49,13 @@ Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year {{ end }} +{{ if .streaming_available }} +

Videostreaming: + Live +

+{{ end }} + +

IRC: {{ .irc_channel }}

{{ end }}