From f04cf21e515eea4bee1eb1340b1646c8c87551b0 Mon Sep 17 00:00:00 2001 From: Raoul Date: Sun, 29 Apr 2018 18:03:46 +0200 Subject: [PATCH] Sidebar cleanup --- config.toml | 21 ++++--------------- .../layouts/partials/site-sidebar.de.html | 19 +++++++---------- .../layouts/partials/site-sidebar.en.html | 15 ++++++------- .../layouts/partials/site-sidebar.fr.html | 15 ++++++------- .../layouts/partials/site-sidebar.it.html | 19 +++++++---------- 5 files changed, 32 insertions(+), 57 deletions(-) diff --git a/config.toml b/config.toml index 47f181a..f92205b 100644 --- a/config.toml +++ b/config.toml @@ -10,29 +10,16 @@ DefaultContentLanguageInSubdir = true [Languages] [Languages.de] weight = 1 - languageNames = {de = "Deutsch", - fr = "Französisch", - it = "Italienisch", - en = "Englisch"} + LanguageName = "Deutsch" [Languages.fr] weight = 2 - languageNames = {de = "Allemand", - fr = "Français", - it = "Italien", - en = "Anglais"} + LanguageName = "Français" [Languages.it] weight = 3 - languageNames = {de = "Tedesco", - fr = "Francese ", - it = "Italiano", - en = "Inglese"} - + LanguageName = "Italiano" [Languages.en] weight = 4 - languageNames = {de = "German", - fr = "French", - it = "Italian", - en = "English"} + LanguageName = "English" diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.de.html b/themes/cosin-theme/layouts/partials/site-sidebar.de.html index e9e98d5..56c12df 100644 --- a/themes/cosin-theme/layouts/partials/site-sidebar.de.html +++ b/themes/cosin-theme/layouts/partials/site-sidebar.de.html @@ -4,8 +4,8 @@

{{ .title }} {{ .date_year }}

- Chaos Singularity (CoSin) ist ein jährlicher Event des Schweizer Chaos. Der - Inhalt erstreckt sich über Technik und Politik zu Kunst und Kultur. + Chaos Singularity (CoSin) ist ein jährlicher Event des Schweizer Chaos. + Der Inhalt erstreckt sich über Technik und Politik zu Kunst und Kultur.

@@ -39,9 +39,7 @@ {{ if .schedule_available }} -

- Fahrplan: -

+

Fahrplan: