Merge branch 'master' of git.ccczh.ch:cosin/cosin_website

This commit is contained in:
Adrian Friedli 2018-04-29 20:06:29 +02:00
commit d218c175fe
No known key found for this signature in database
GPG key ID: 72488301A5824477
15 changed files with 68 additions and 14 deletions

View file

@ -9,8 +9,7 @@ menu:
## Fahrplan {{< cosin "date_year" >}}
Der Fahrplan für die diesjährige CoSin erscheint Anfang Juni.
{{< schedule >}}
## Ältere Fahrpläne

View file

@ -9,8 +9,7 @@ menu:
## Schedule {{< cosin "date_year" >}}
Schedule of this year's CoSin will be online in early June.
{{< schedule >}}
## Older schedules

View file

@ -9,8 +9,7 @@ menu:
## Programme {{< cosin "date_year" >}}
Der Fahrplan für die diesjährige CoSin erscheint Anfang Juni.
{{< schedule >}}
## Anciens programmes

View file

@ -9,8 +9,7 @@ menu:
## Tabella di marcia {{< cosin "date_year" >}}
Der Fahrplan für die diesjährige CoSin erscheint Anfang Juni.
{{< schedule >}}
## Tabelle di marcia precedenti

View file

@ -23,7 +23,7 @@ This year's CoSin takes place in the [{{< cosin "location_name" >}}][1] in {{< c
## Getting there
* Address: Faubourd du Jura 36, 2502 Biel/Bienne
* Address: Faubourg du Jura 36, 2502 Biel/Bienne
* [OpenStreetMap][2]
* The railway station is approximately a 15-minute walk away
* Parking spaces are available

View file

@ -37,7 +37,8 @@ cfp_url = "https://frab.ccczh.ch/en/cosin/cfp/session/new"
schedule_available = true
schedule_urls = [
schedule_main_url = "https://www.cosin.ch/fahrplan/2017/index.html"
schedule_day_urls = [
"https://www.cosin.ch/fahrplan/2017/schedule/1.html",
"https://www.cosin.ch/fahrplan/2017/schedule/2.html",
"https://www.cosin.ch/fahrplan/2017/schedule/3.html"]

View file

@ -0,0 +1,9 @@
{{ if eq .Site.Language.Lang "de" }}
{{ partial "fahrplan.de.html" . }}
{{ else if eq .Site.Language.Lang "fr" }}
{{ partial "fahrplan.fr.html" . }}
{{ else if eq .Site.Language.Lang "it" }}
{{ partial "fahrplan.it.html" . }}
{{ else if eq .Site.Language.Lang "en" }}
{{ partial "fahrplan.en.html" . }}
{{ end }}

View file

@ -0,0 +1,12 @@
{{ if .Site.Data.cosin.schedule_available }}
<p>
Der Fahrplan für die diesjährige CoSin ist da!
</p>
<ul>
<li><a href="{{ .Site.Data.cosin.date_year | safeURL }}">CoSin {{ .Site.Data.cosin.date_year }}</a></li>
</ul>
{{ else }}
<p>
Der Fahrplan für die diesjährige CoSin erscheint Anfang Juni.
</p>
{{ end}}

View file

@ -0,0 +1,12 @@
{{ if .Site.Data.cosin.schedule_available }}
<p>
Schedule of this year's CoSin is ready!
</p>
<ul>
<li><a href="{{ .Site.Data.cosin.date_year | safeURL }}">CoSin {{ .Site.Data.cosin.date_year }}</a></li>
</ul>
{{ else }}
<p>
Schedule of this year's CoSin will be online in early June.
</p>
{{ end}}

View file

@ -0,0 +1,12 @@
{{ if .Site.Data.cosin.schedule_available }}
<p>
Der Fahrplan für die diesjährige CoSin ist da!
</p>
<ul>
<li><a href="{{ .Site.Data.cosin.date_year | safeURL }}">CoSin {{ .Site.Data.cosin.date_year }}</a></li>
</ul>
{{ else }}
<p>
Der Fahrplan für die diesjährige CoSin erscheint Anfang Juni.
</p>
{{ end}}

View file

@ -0,0 +1,12 @@
{{ if .Site.Data.cosin.schedule_available }}
<p>
Der Fahrplan für die diesjährige CoSin ist da!
</p>
<ul>
<li><a href="{{ .Site.Data.cosin.date_year | safeURL }}">CoSin {{ .Site.Data.cosin.date_year }}</a></li>
</ul>
{{ else }}
<p>
Der Fahrplan für die diesjährige CoSin erscheint Anfang Juni.
</p>
{{ end}}

View file

@ -41,7 +41,7 @@
{{ if .schedule_available }}
<p><strong>Fahrplan:</strong></p>
<ul>
{{ range $index, $element := .schedule_urls }}
{{ range $index, $element := .schedule_day_urls }}
<li><a href="{{ $element | safeURL }}">Tag {{ add $index 1 }}</a></li>
{{ end }}
</ul>

View file

@ -41,7 +41,7 @@
{{ if .schedule_available }}
<p><strong>Schedule:</strong></p>
<ul>
{{ range $index, $element := .schedule_urls }}
{{ range $index, $element := .schedule_day_urls }}
<li><a href="{{ $element | safeURL }}">Day {{ add $index 1 }}</a></li>
{{ end }}
</ul>

View file

@ -41,7 +41,7 @@
{{ if .schedule_available }}
<p><strong>Programme:</strong></p>
<ul>
{{ range $index, $element := .schedule_urls }}
{{ range $index, $element := .schedule_day_urls }}
<li><a href="{{ $element | safeURL }}">Jour {{ add $index 1 }}</a></li>
{{ end }}
</ul>

View file

@ -41,7 +41,7 @@
{{ if .schedule_available }}
<p><strong>Tabella di marcia:</strong></p>
<ul>
{{ range $index, $element := .schedule_urls }}
{{ range $index, $element := .schedule_day_urls }}
<li><a href="{{ $element | safeURL }}">Giorno {{ add $index 1 }}</a></li>
{{ end }}
</ul>