cosin-website/themes/cosin-theme/layouts/partials/site-sidebar.it.html
2018-04-23 20:46:27 +02:00

67 lines
1.6 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>
<p>
{{ if .date_known }}
<strong>Data:</strong> {{ .date_day_start }}.-{{ .date_day_end }}. {{ index $.Site.Data.mese (string .date_month) }} {{ .date_year }}<br/>
{{ end }}
{{ if .place_known }}
<strong>Luogo:</strong> {{ .location }} a <strong>{{ .city }}</strong><br/>
{{ end }}
{{ if .registration_open }}
<strong>Costo:</strong> {{ .entrance_fee }}
{{ 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="mailto:{{ .registration_email }}">{{ .registration_email }}</a> (per i pasti)</p>
{{ end }}
{{ if .cfp_running }}
<p><strong>Call for Participation:</strong> <a href="{{ .cfp_url | safeURL }}">Frab</a></p>
{{ end }}
{{ if .schedule_available }}
<p>
<strong>Tabella di marcia:</strong>
<ul>
{{ range $index, $element := .schedule_urls }}
<li><a href="{{ $element | safeURL }}">Giorno {{ add $index 1 }}</a>
{{ end }}
</ul>
</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 }}">{{ index .Site.Params.languageNames .Lang }}</a>
{{ end }}
{{ end }}
</p>
</div>