cosin-website/layouts/partials/site-sidebar.en.html
Ral 1ae76f09ad
All checks were successful
/ deploy (push) Successful in 35s
/ test (push) Successful in 1m10s
Fix some typos
2024-05-09 01:35:13 +02:00

84 lines
2.2 KiB
HTML

<div class="left">
{{ with .Site.Data.cosin }}
<h3>{{ .title }} {{ .date_year }}</h3>
<p>
CoSin is a yearly chaotic event in Switzerland. The content ranges from
technical and political, to social and cultural.
</p>
{{ if .is_cancelled }}
<p>
<strong>The CoSin {{ .date_year }} is cancelled!</strong>
</p>
{{ end }}
<p>
{{ if .date_known }}
<strong>Date:</strong> {{ i18n .date_start_month }} {{ humanize .date_start_day }} - {{ i18n .date_end_month }} {{ humanize .date_end_day }} {{ .date_year }}<br/>
{{ end }}
{{ if .location_known }}
<strong>Location:</strong> {{ i18n .location_name }} in <strong>{{ i18n .location_city }}</strong>
{{ end }}
</p>
{{ if .flyer_available }}
<p><strong><a href="/flyer/{{ .flyer_path }}">Flyer CoSin {{ .date_year }}</a></strong></p>
{{ end }}
{{ if .registration_open }}
<p>
<strong>Registration:</strong> <a href="{{ .registration_url }}">Tickets</a><br>
<strong>Admission:</strong> {{ .entrance_fee }}
</p>
{{ end }}
{{ if .cfp_running }}
<p><strong>Call for Participation:</strong> <a href="{{ .cfp_url | safeURL }}">Pretalx</a><br>
Open until {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year }}.<br/>
</p>
{{ end }}
{{ if .schedule_available }}
<p><strong>Schedule:</strong></p>
<ul>
{{ range $index, $element := .schedule_day_urls }}
<li><a href="{{ $element | safeURL }}">Day {{ add $index 1 }}</a></li>
{{ end }}
</ul>
{{ end }}
{{ if .streaming_available }}
<p><strong>Videostreaming:</strong>
<a href="{{ .streaming_main_url | safeURL }}">Live</a>
</p>
{{ end }}
<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_to | safeURL }}{{ urlquery .matrix_space }}:{{ .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>
{{ end }}
<p>
<strong>Language:</strong>
{{ if .IsTranslated }}
{{ range .Translations }}
<a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>
{{ end }}
{{ end }}
</p>
</div>