diff --git a/config.toml b/config.toml index cfda403..49a819f 100644 --- a/config.toml +++ b/config.toml @@ -1,19 +1,5 @@ baseURL = "https://my.ecogood.world/" -#languageCode = "de-de" -title = "Ecogood Portal old" -defaultContentLanguageInSubdir = true +languageCode = "en" +title = "ECG Portal" disableKinds = ["RSS", "sitemap", "taxonomy", "taxonomyTerm"] - -[languages] - [languages.en] - title = "Ecogood Portal set" - contentDir = "content" - languageName = "English" - [languages.de] - languageName = "Deutsch" - contentDir = "content" - [languages.fr] - title = "Ecogood portail" - contentDir = "content" - languageName = "Français" \ No newline at end of file diff --git a/content/index.de.md b/content/index.de.md deleted file mode 120000 index 417369a..0000000 --- a/content/index.de.md +++ /dev/null @@ -1 +0,0 @@ -index.en.md \ No newline at end of file diff --git a/content/index.en.md b/content/index.md similarity index 64% rename from content/index.en.md rename to content/index.md index 4a5d164..d7ba5e6 100644 --- a/content/index.en.md +++ b/content/index.md @@ -8,45 +8,31 @@ items: # cssClass: forum - url: https://mail.ecogood.org solution: Rainloop - title: - en: Webmail - de: Webmail + title: Webmail cssClass: mail - url: https://wiki.ecogood.org solution: Confluence - title: - en: Wiki - de: Wiki + title: Wiki cssClass: wiki - url: https://cloud.ecogood.world solution: Nextcloud - title: - en: Data cloud - de: Datenspeicher + title: Data cloud cssClass: cloud - url: https://list.ecogood.org/wws solution: Sympa - title: - en: E-Mail lists - de: Mailinglisten + title: E-Mail lists cssClass: maillist - url: https://login.smartwe.de/SmartWe/ solution: SmartWE - title: - en: Membership admin - de: Mitglieder- verwaltung + title: Membership admin cssClass: smartwe - url: https://git.ecogood.world solution: Gitea - title: - en: Code hosting - de: Code Repos + title: Code hosting cssClass: code - url: https://jira.ecogood.org solution: JIRA - title: - en: Ticket system - de: Ticketsystem + title: Ticket system cssClass: projekte --- diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 019217b..7ba2f3b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,18 +9,7 @@ {{ range .Params.items }}
-
{{ $found := false }} - {{ range $key, $value := .title }} - {{ if eq (string $.Site.Language) $key }} - {{ $value }} - {{ $found = true }} - {{ end }} - {{ end }} - - {{ if eq $found false }} - {{ .title.en }} - {{ end }}
- +
{{ .title }}
{{ .solution }}
{{ end }}