From df078664f9723cbd25d452f2a138817d6a0d567b Mon Sep 17 00:00:00 2001 From: Raoul Date: Mon, 5 Sep 2022 22:13:37 +0200 Subject: [PATCH] Parametrise mastodon data --- data/cosin.toml | 2 ++ layouts/partials/site-sidebar.de.html | 2 +- layouts/partials/site-sidebar.en.html | 2 +- layouts/partials/site-sidebar.fr.html | 2 +- layouts/partials/site-sidebar.it.html | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/data/cosin.toml b/data/cosin.toml index 0ac5bbb..aee084e 100644 --- a/data/cosin.toml +++ b/data/cosin.toml @@ -58,5 +58,7 @@ streaming_main_url = "https://streaming.cosin.ch" irc_server = "ircs://irc.chaostreff.ch:6601/" irc_channel = "#cosin" +mastodon_server = "https://chaos.social/" +mastodon_handle = "@CoSin" orga_email = "cosin2020@cosin.ch" diff --git a/layouts/partials/site-sidebar.de.html b/layouts/partials/site-sidebar.de.html index e307a40..9572469 100644 --- a/layouts/partials/site-sidebar.de.html +++ b/layouts/partials/site-sidebar.de.html @@ -65,7 +65,7 @@ Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year

IRC: {{ .irc_channel }}

-

Mastodon: @CoSin

+

Mastodon: {{ .mastodon_handle }}

{{ end }} diff --git a/layouts/partials/site-sidebar.en.html b/layouts/partials/site-sidebar.en.html index 51c2ea7..8b3f07e 100644 --- a/layouts/partials/site-sidebar.en.html +++ b/layouts/partials/site-sidebar.en.html @@ -65,7 +65,7 @@ Open until {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year

IRC: {{ .irc_channel }}

-

Mastodon: @CoSin

+

Mastodon: {{ .mastodon_handle }}

{{ end }} diff --git a/layouts/partials/site-sidebar.fr.html b/layouts/partials/site-sidebar.fr.html index 519a1db..21f0776 100644 --- a/layouts/partials/site-sidebar.fr.html +++ b/layouts/partials/site-sidebar.fr.html @@ -65,7 +65,7 @@ Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year

IRC: {{ .irc_channel }}

-

Mastodon: @CoSin

+

Mastodon: {{ .mastodon_handle }}

{{ end }} diff --git a/layouts/partials/site-sidebar.it.html b/layouts/partials/site-sidebar.it.html index 19bcb7f..c7179aa 100644 --- a/layouts/partials/site-sidebar.it.html +++ b/layouts/partials/site-sidebar.it.html @@ -65,7 +65,7 @@ Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year

IRC: {{ .irc_channel }}

-

Mastodon: @CoSin

+

Mastodon: {{ .mastodon_handle }}

{{ end }}