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

65 lines
1.5 KiB
HTML
Raw Normal View History

2018-04-23 04:18:37 +02:00
<div class="left">
{{ with .Site.Data.cosin }}
<h3>{{ .title }} {{ .date_year }}</h3>
2018-04-23 20:46:27 +02:00
<p>
Cosin is a yearly chaotic event in Switzerland. The content ranges from
technical and political, to social and cultural.
2018-04-23 04:18:37 +02:00
</p>
<p>
{{ if .date_known }}
2018-04-24 02:06:01 +02:00
<strong>Date:</strong> {{ i18n .date_month }} {{ .date_day_start }}th - {{ .date_day_end }}th {{ .date_year }}<br/>
2018-04-23 04:18:37 +02:00
{{ end }}
2018-04-29 20:05:45 +02:00
{{ if .location_known }}
<strong>Location:</strong> {{ .location_name }} in <strong>{{ i18n .location_city }}</strong><br/>
2018-04-23 04:18:37 +02:00
{{ end }}
{{ if .registration_open }}
2018-04-23 20:46:27 +02:00
<strong>Entrance:</strong> {{ .entrance_fee }}
2018-04-23 04:18:37 +02:00
{{ end }}
</p>
{{ if .flyer_available }}
<p><strong><a href="/flyer/{{ .flyer_path }}">Flyer CoSin {{ .date_year }}</a></strong></p>
{{ end }}
{{ if .registration_open }}
2018-04-23 20:46:27 +02:00
<p><strong>Registration for meals:</strong> <a href="mailto:{{ .registration_email }}">{{ .registration_email }}</a></p>
2018-04-23 04:18:37 +02:00
{{ end }}
{{ if .cfp_running }}
<p><strong>Call for Participation:</strong> <a href="{{ .cfp_url | safeURL }}">Frab</a></p>
{{ end }}
{{ if .schedule_available }}
2018-04-29 18:03:46 +02:00
<p><strong>Schedule:</strong></p>
2018-04-24 04:20:14 +02:00
<ul>
2018-04-23 04:18:37 +02:00
{{ range $index, $element := .schedule_urls }}
2018-04-24 04:20:14 +02:00
<li><a href="{{ $element | safeURL }}">Day {{ add $index 1 }}</a></li>
2018-04-23 04:18:37 +02:00
{{ end }}
2018-04-24 04:20:14 +02:00
</ul>
2018-04-23 04:18:37 +02:00
{{ end }}
2018-04-29 18:03:46 +02:00
<p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a></p>
2018-04-23 04:18:37 +02:00
{{ end }}
2018-04-23 18:13:15 +02:00
2018-04-29 18:03:46 +02:00
2018-04-23 18:13:15 +02:00
<p>
2018-04-23 20:46:27 +02:00
<strong>Language:</strong>
2018-04-23 18:13:15 +02:00
{{ if .IsTranslated }}
2018-04-29 18:03:46 +02:00
{{ range .Translations }}
<a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>
{{ end }}
2018-04-23 18:13:15 +02:00
{{ end }}
</p>
2018-04-23 04:18:37 +02:00
</div>