cosin-website/themes/cosin-theme/layouts/partials/site-sidebar.en.html

66 lines
1.7 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>
<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><br/>
{{ end }}
{{ if .registration_open }}
<strong>Admission:</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>Registration for meals:</strong> <a href="mailto:{{ .registration_email }}">{{ .registration_email }}</a></p>
{{ end }}
{{ if .cfp_running }}
<p><strong>Call for Participation:</strong> <a href="{{ .cfp_url | safeURL }}">Frab</a><br>
Open until {{ .date_cfp_end_day }}. {{ i18n .date_cfp_end_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 }}
<p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a></p>
{{ end }}
<p>
<strong>Language:</strong>
{{ if .IsTranslated }}
{{ range .Translations }}
<a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>
{{ end }}
{{ end }}
</p>
</div>