cosin-website/themes/cosin-theme/layouts/partials/site-sidebar.it.html
2021-08-18 18:11:23 +02:00

78 lines
1.9 KiB
HTML

<div class="left">
{{ with .Site.Data.cosin }}
<h3>{{ .title }} {{ .date_year }}</h3>
<p>
Chaos Singularity (CoSin) è l'evento annuale del Caos Svizzero.
I contenuti si articolano tra tecnica, politica, arte e cultura.
</p>
{{ if .is_cancelled }}
<p>
<strong>La CoSin {{ .date_year }} è annullato!</strong>
</p>
{{ end }}
<p>
{{ if .date_known }}
<strong>Data:</strong> <del>{{ .date_start_day }}. {{ i18n .date_start_month }} - {{ .date_end_day }}. {{ i18n .date_end_month }} {{ .date_year }}</del><br/>
{{ end }}
{{ if .location_known }}
<strong>Luogo:</strong> <del>{{ i18n .location_name }} a <strong>{{ i18n .location_city }}</strong></del>
{{ 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>Registrazione:</strong> <a href="{{ .registration_url }}">Tickets</a><br>
<strong>Costo:</strong> {{ .entrance_fee }}
</p>
{{ end }}
{{ if .cfp_running }}
<p><strong>Call for Participation:</strong> <a href="{{ .cfp_url | safeURL }}">Frab</a><br>
Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year }}.<br/>
</p>
{{ end }}
{{ if .schedule_available }}
<p><strong>Tabella di marcia:</strong></p>
<ul>
{{ range $index, $element := .schedule_day_urls }}
<li><a href="{{ $element | safeURL }}">Giorno {{ 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>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a></p>
{{ end }}
<p>
<strong>Linguaggio:</strong>
{{ if .IsTranslated }}
{{ range .Translations }}
<a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>
{{ end }}
{{ end }}
</p>
</div>