diff --git a/data/cosin.toml b/data/cosin.toml index 019ccf1..64ace75 100644 --- a/data/cosin.toml +++ b/data/cosin.toml @@ -1,17 +1,15 @@ title = "Chaos Singularity" -description = "Chaos Singularity (CoSin) ist ein jährlicher Event des Schweizer Chaos. Der Inhalt erstreckt sich über Technik und Politik zu Kunst und Kultur." - - # Set to false if date for next year is not known yet: date_known = true -date_day_start = "15" -date_day_end = "17" +date_day_start = 15 +date_day_end = 17 +date_month = 6 +date_year = 2018 + date_day_name_start = "Freitag" date_day_name_end = "Sonntag" -date_month = "Juni" -date_year = 2018 place_known = true diff --git a/data/mese.toml b/data/mese.toml new file mode 100644 index 0000000..04a70db --- /dev/null +++ b/data/mese.toml @@ -0,0 +1,12 @@ +1 = "gennaio" +2 = "febbraio" +3 = "marzo" +4 = "aprile" +5 = "maggio" +6 = "giugno" +7 = "luglio" +8 = "agosto" +9 = "settembre" +10 = "ottobre" +11 = "novembre" +12 = "dicembre" diff --git a/data/mois.toml b/data/mois.toml new file mode 100644 index 0000000..96288ae --- /dev/null +++ b/data/mois.toml @@ -0,0 +1,12 @@ +1 = "janvier" +2 = "février" +3 = "mars" +4 = "avril" +5 = "mai" +6 = "juin" +7 = "juillet" +8 = "août" +9 = "septembre" +10 = "octobre" +11 = "novembre" +12 = "décembre" diff --git a/data/monate.toml b/data/monate.toml new file mode 100644 index 0000000..a17a3fa --- /dev/null +++ b/data/monate.toml @@ -0,0 +1,12 @@ +1 = "Januar" +2 = "Februar" +3 = "März" +4 = "April" +5 = "Mai" +6 = "Juni" +7 = "Juli" +8 = "August" +9 = "September" +10 = "Oktober" +11 = "November" +12 = "Dezember" diff --git a/data/months.toml b/data/months.toml new file mode 100644 index 0000000..ac1c705 --- /dev/null +++ b/data/months.toml @@ -0,0 +1,12 @@ +1 = "January" +2 = "February" +3 = "March" +4 = "April" +5 = "May" +6 = "June" +7 = "July" +8 = "August" +9 = "September" +10 = "October" +11 = "November" +12 = "December" diff --git a/themes/cosin-theme/layouts/_default/baseof.html b/themes/cosin-theme/layouts/_default/baseof.html index 7b8ad26..9dff456 100644 --- a/themes/cosin-theme/layouts/_default/baseof.html +++ b/themes/cosin-theme/layouts/_default/baseof.html @@ -15,7 +15,17 @@ {{ block "menu" . }} {{ partial "site-menu.html" . }} {{ end }}
{{ .description }} +
+ Chaos Singularity (CoSin) ist ein jährlicher Event des Schweizer Chaos. Der + Inhalt erstreckt sich über Technik und Politik zu Kunst und Kultur.
{{ if .date_known }}
- Datum: {{ .date_day_start }}.-{{ .date_day_end }}. {{ .date_month }} {{ .date_year }}
+ Datum: {{ .date_day_start }}.-{{ .date_day_end }}. {{ index $.Site.Data.monate (string .date_month) }} {{ .date_year }}
{{ end }}
{{ if .place_known }}
- Ort: {{ .location }} in {{ .city }}
+ Ort: {{ .location }} in {{ .city }}
{{ end }}
{{ if .registration_open }}
diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.en.html b/themes/cosin-theme/layouts/partials/site-sidebar.en.html
new file mode 100644
index 0000000..d8471b2
--- /dev/null
+++ b/themes/cosin-theme/layouts/partials/site-sidebar.en.html
@@ -0,0 +1,67 @@
+
+ Cosin is a yearly chaotic event in Switzerland. The content ranges from + technical and political, to social and cultural. +
+ +
+ {{ if .date_known }}
+ Date: {{ index $.Site.Data.months (string .date_month) }} {{ .date_day_start }}th - {{ .date_day_end }}th {{ .date_year }}
+ {{ end }}
+
+ {{ if .place_known }}
+ Location: {{ .location }} in {{ .city }}
+ {{ end }}
+
+ {{ if .registration_open }}
+ Entrance: {{ .entrance_fee }}
+ {{ end }}
+
Registration for meals: {{ .registration_email }}
+{{ end }} + + +{{ if .cfp_running }} +Call for Participation: Frab
+{{ end }} + + +{{ if .schedule_available }} ++ Schedule: +
IRC: {{ .irc_channel }} +
+ +{{ end }} + ++ Language: + {{ if .IsTranslated }} + {{ range .Translations }} + {{ index .Site.Params.languageNames .Lang }} + {{ end }} + {{ end }} +
+ ++ Chaos Singularity (CoSin) est un événement chaotique qui se tient chaque année en Suisse. + Le contenu s'étend de la technologie et la politique au social et culturel. +
+ +
+ {{ if .date_known }}
+ Date: {{ .date_day_start }}.-{{ .date_day_end }}. {{ index $.Site.Data.mois (string .date_month) }} {{ .date_year }}
+ {{ end }}
+
+ {{ if .place_known }}
+ Lieu: {{ .location }} à {{ .city }}
+ {{ end }}
+
+ {{ if .registration_open }}
+ Entrée: {{ .entrance_fee }}
+ {{ end }}
+
Inscription: {{ .registration_email }} (inscription aux repas)
+{{ end }} + + +{{ if .cfp_running }} +Call for Participation: Frab
+{{ end }} + + +{{ if .schedule_available }} ++ Programme: +
IRC: {{ .irc_channel }} +
+ +{{ end }} + ++ Langage: + {{ if .IsTranslated }} + {{ range .Translations }} + {{ index .Site.Params.languageNames .Lang }} + {{ end }} + {{ end }} +
+ ++ Chaos Singularity (CoSin) è l'evento annuale del Caos Svizzero. I contenuti si + articolano tra tecnica, politica, arte e cultura. +
+ +
+ {{ if .date_known }}
+ Data: {{ .date_day_start }}.-{{ .date_day_end }}. {{ index $.Site.Data.mese (string .date_month) }} {{ .date_year }}
+ {{ end }}
+
+ {{ if .place_known }}
+ Luogo: {{ .location }} a {{ .city }}
+ {{ end }}
+
+ {{ if .registration_open }}
+ Costo: {{ .entrance_fee }}
+ {{ end }}
+
Registrazione: {{ .registration_email }} (per i pasti)
+{{ end }} + + +{{ if .cfp_running }} +Call for Participation: Frab
+{{ end }} + + +{{ if .schedule_available }} ++ Tabella di marcia: +
IRC: {{ .irc_channel }} +
+ +{{ end }} + ++ Linguaggio: + {{ if .IsTranslated }} + {{ range .Translations }} + {{ index .Site.Params.languageNames .Lang }} + {{ end }} + {{ end }} +
+ +