Sidebar cleanup

This commit is contained in:
Raoul 2018-04-29 18:03:46 +02:00
parent 7ca6a6952d
commit f04cf21e51
No known key found for this signature in database
GPG key ID: C7493D73B67C1842
5 changed files with 32 additions and 57 deletions

View file

@ -10,29 +10,16 @@ DefaultContentLanguageInSubdir = true
[Languages] [Languages]
[Languages.de] [Languages.de]
weight = 1 weight = 1
languageNames = {de = "Deutsch", LanguageName = "Deutsch"
fr = "Französisch",
it = "Italienisch",
en = "Englisch"}
[Languages.fr] [Languages.fr]
weight = 2 weight = 2
languageNames = {de = "Allemand", LanguageName = "Français"
fr = "Français",
it = "Italien",
en = "Anglais"}
[Languages.it] [Languages.it]
weight = 3 weight = 3
languageNames = {de = "Tedesco", LanguageName = "Italiano"
fr = "Francese ",
it = "Italiano",
en = "Inglese"}
[Languages.en] [Languages.en]
weight = 4 weight = 4
languageNames = {de = "German", LanguageName = "English"
fr = "French",
it = "Italian",
en = "English"}

View file

@ -4,8 +4,8 @@
<h3>{{ .title }} {{ .date_year }}</h3> <h3>{{ .title }} {{ .date_year }}</h3>
<p> <p>
Chaos Singularity (CoSin) ist ein jährlicher Event des Schweizer Chaos. Der Chaos Singularity (CoSin) ist ein jährlicher Event des Schweizer Chaos.
Inhalt erstreckt sich über Technik und Politik zu Kunst und Kultur. Der Inhalt erstreckt sich über Technik und Politik zu Kunst und Kultur.
</p> </p>
<p> <p>
@ -39,9 +39,7 @@
{{ if .schedule_available }} {{ if .schedule_available }}
<p> <p><strong>Fahrplan:</strong></p>
<strong>Fahrplan:</strong>
</p>
<ul> <ul>
{{ range $index, $element := .schedule_urls }} {{ range $index, $element := .schedule_urls }}
<li><a href="{{ $element | safeURL }}">Tag {{ add $index 1 }}</a></li> <li><a href="{{ $element | safeURL }}">Tag {{ add $index 1 }}</a></li>
@ -50,16 +48,15 @@
{{ end }} {{ end }}
<p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a> <p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a></p>
</p>
{{ end }} {{ end }}
<p> <p>
<strong>Sprache:</strong> <strong>Sprache:</strong>
{{ if .IsTranslated }} {{ if .IsTranslated }}
{{ range .Translations }} {{ range .Translations }}
<a href="{{ .Permalink }}">{{ index .Site.Params.languageNames .Lang }}</a> <a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>
{{ end }} {{ end }}
{{ end }} {{ end }}
</p> </p>

View file

@ -39,9 +39,7 @@
{{ if .schedule_available }} {{ if .schedule_available }}
<p> <p><strong>Schedule:</strong></p>
<strong>Schedule:</strong>
</p>
<ul> <ul>
{{ range $index, $element := .schedule_urls }} {{ range $index, $element := .schedule_urls }}
<li><a href="{{ $element | safeURL }}">Day {{ add $index 1 }}</a></li> <li><a href="{{ $element | safeURL }}">Day {{ add $index 1 }}</a></li>
@ -50,16 +48,15 @@
{{ end }} {{ end }}
<p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a> <p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a></p>
</p>
{{ end }} {{ end }}
<p> <p>
<strong>Language:</strong> <strong>Language:</strong>
{{ if .IsTranslated }} {{ if .IsTranslated }}
{{ range .Translations }} {{ range .Translations }}
<a href="{{ .Permalink }}">{{ index .Site.Params.languageNames .Lang }}</a> <a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>
{{ end }} {{ end }}
{{ end }} {{ end }}
</p> </p>

View file

@ -39,9 +39,7 @@
{{ if .schedule_available }} {{ if .schedule_available }}
<p> <p><strong>Programme:</strong></p>
<strong>Programme:</strong>
</p>
<ul> <ul>
{{ range $index, $element := .schedule_urls }} {{ range $index, $element := .schedule_urls }}
<li><a href="{{ $element | safeURL }}">Jour {{ add $index 1 }}</a></li> <li><a href="{{ $element | safeURL }}">Jour {{ add $index 1 }}</a></li>
@ -50,16 +48,15 @@
{{ end }} {{ end }}
<p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a> <p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a></p>
</p>
{{ end }} {{ end }}
<p> <p>
<strong>Langage:</strong> <strong>Langage:</strong>
{{ if .IsTranslated }} {{ if .IsTranslated }}
{{ range .Translations }} {{ range .Translations }}
<a href="{{ .Permalink }}">{{ index .Site.Params.languageNames .Lang }}</a> <a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>
{{ end }} {{ end }}
{{ end }} {{ end }}
</p> </p>

View file

@ -4,8 +4,8 @@
<h3>{{ .title }} {{ .date_year }}</h3> <h3>{{ .title }} {{ .date_year }}</h3>
<p> <p>
Chaos Singularity (CoSin) è l'evento annuale del Caos Svizzero. I contenuti si Chaos Singularity (CoSin) è l'evento annuale del Caos Svizzero.
articolano tra tecnica, politica, arte e cultura. I contenuti si articolano tra tecnica, politica, arte e cultura.
</p> </p>
<p> <p>
@ -39,9 +39,7 @@
{{ if .schedule_available }} {{ if .schedule_available }}
<p> <p><strong>Tabella di marcia:</strong></p>
<strong>Tabella di marcia:</strong>
</p>
<ul> <ul>
{{ range $index, $element := .schedule_urls }} {{ range $index, $element := .schedule_urls }}
<li><a href="{{ $element | safeURL }}">Giorno {{ add $index 1 }}</a></li> <li><a href="{{ $element | safeURL }}">Giorno {{ add $index 1 }}</a></li>
@ -50,16 +48,15 @@
{{ end }} {{ end }}
<p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a> <p><strong>IRC:</strong> <a href="{{ .irc_server | safeURL }}{{ .irc_channel }}">{{ .irc_channel }}</a></p>
</p>
{{ end }} {{ end }}
<p> <p>
<strong>Linguaggio:</strong> <strong>Linguaggio:</strong>
{{ if .IsTranslated }} {{ if .IsTranslated }}
{{ range .Translations }} {{ range .Translations }}
<a href="{{ .Permalink }}">{{ index .Site.Params.languageNames .Lang }}</a> <a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>
{{ end }} {{ end }}
{{ end }} {{ end }}
</p> </p>