Link to matrix space in sidebar

This commit is contained in:
Raoul 2022-10-10 23:57:31 +02:00
parent fd68e79db4
commit 9fe21045d2
No known key found for this signature in database
GPG key ID: C7493D73B67C1842
5 changed files with 8 additions and 6 deletions

View file

@ -59,8 +59,10 @@ irc_server = "ircs://irc.chaostreff.ch:6601/"
irc_channel = "#cosin" irc_channel = "#cosin"
matrix_server = "fairydust.space" matrix_server = "fairydust.space"
matrix_room = "#cosin" matrix_room = "#cosin-allgemein"
matrix_space = "#cosin"
matrix_client = "https://chat.fairydust.space/#/room/" matrix_client = "https://chat.fairydust.space/#/room/"
matrix_to = "https://matrix.to/#/"
mastodon_server = "https://chaos.social/" mastodon_server = "https://chaos.social/"
mastodon_handle = "@CoSin" mastodon_handle = "@CoSin"

View file

@ -62,10 +62,10 @@ Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year
{{ end }} {{ end }}
<p><strong><s>IRC:</s></strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}"><s>{{ .irc_channel }}</s></a> (obsolet)</p> <p><s><strong>IRC:</strong></s> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}"><s>{{ .irc_channel }}</s></a> (obsolet)</p>
<p><strong>Matrix:</strong> <a href="{{ .matrix_client | safeURL }}{{ urlquery .matrix_room }}:{{ .matrix_server }}">{{ .matrix_room }}:{{ .matrix_server }}</a></p> <p><strong>Matrix:</strong> <a href="{{ .matrix_to | safeURL }}{{ urlquery .matrix_room }}:{{ .matrix_server }}">{{ .matrix_space }}:{{ .matrix_server }}</a></p>
<p><strong>Mastodon:</strong> <a rel="me" href="{{ .mastodon_server | safeURL }}{{ .mastodon_handle }}">{{ .mastodon_handle }}</a></p> <p><strong>Mastodon:</strong> <a rel="me" href="{{ .mastodon_server | safeURL }}{{ .mastodon_handle }}">{{ .mastodon_handle }}</a></p>

View file

@ -65,7 +65,7 @@ Open until {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year
<p><strong><s>IRC:</s></strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}"><s>{{ .irc_channel }}</s></a> (obsolete)</p> <p><strong><s>IRC:</s></strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}"><s>{{ .irc_channel }}</s></a> (obsolete)</p>
<p><strong>Matrix:</strong> <a href="{{ .matrix_client | safeURL }}{{ urlquery .matrix_room }}:{{ .matrix_server }}">{{ .matrix_room }}:{{ .matrix_server }}</a></p> <p><strong>Matrix:</strong> <a href="{{ .matrix_to | safeURL }}{{ urlquery .matrix_room }}:{{ .matrix_server }}">{{ .matrix_space }}:{{ .matrix_server }}</a></p>
<p><strong>Mastodon:</strong> <a rel="me" href="{{ .mastodon_server | safeURL }}{{ .mastodon_handle }}">{{ .mastodon_handle }}</a></p> <p><strong>Mastodon:</strong> <a rel="me" href="{{ .mastodon_server | safeURL }}{{ .mastodon_handle }}">{{ .mastodon_handle }}</a></p>

View file

@ -65,7 +65,7 @@ Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year
<p><strong><s>IRC:</s></strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}"><s>{{ .irc_channel }}</s></a> (obsolète)</p> <p><strong><s>IRC:</s></strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}"><s>{{ .irc_channel }}</s></a> (obsolète)</p>
<p><strong>Matrix:</strong> <a href="{{ .matrix_client | safeURL }}{{ urlquery .matrix_room }}:{{ .matrix_server }}">{{ .matrix_room }}:{{ .matrix_server }}</a></p> <p><strong>Matrix:</strong> <a href="{{ .matrix_to | safeURL }}{{ urlquery .matrix_room }}:{{ .matrix_server }}">{{ .matrix_space }}:{{ .matrix_server }}</a></p>
<p><strong>Mastodon:</strong> <a rel="me" href="{{ .mastodon_server | safeURL }}{{ .mastodon_handle }}">{{ .mastodon_handle }}</a></p> <p><strong>Mastodon:</strong> <a rel="me" href="{{ .mastodon_server | safeURL }}{{ .mastodon_handle }}">{{ .mastodon_handle }}</a></p>

View file

@ -65,7 +65,7 @@ Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year
<p><strong><s>IRC:</s></strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}"><s>{{ .irc_channel }}</s></a> (obsoleto)</p> <p><strong><s>IRC:</s></strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}"><s>{{ .irc_channel }}</s></a> (obsoleto)</p>
<p><strong>Matrix:</strong> <a href="{{ .matrix_client | safeURL }}{{ urlquery .matrix_room }}:{{ .matrix_server }}">{{ .matrix_room }}:{{ .matrix_server }}</a></p> <p><strong>Matrix:</strong> <a href="{{ .matrix_to | safeURL }}{{ urlquery .matrix_room }}:{{ .matrix_server }}">{{ .matrix_space }}:{{ .matrix_server }}</a></p>
<p><strong>Mastodon:</strong> <a rel="me" href="{{ .mastodon_server | safeURL }}{{ .mastodon_handle }}">{{ .mastodon_handle }}</a></p> <p><strong>Mastodon:</strong> <a rel="me" href="{{ .mastodon_server | safeURL }}{{ .mastodon_handle }}">{{ .mastodon_handle }}</a></p>