forked from web/portal
remove i18n
This commit is contained in:
18
config.toml
18
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"
|
||||
@@ -1 +0,0 @@
|
||||
index.en.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
|
||||
|
||||
---
|
||||
@@ -9,18 +9,7 @@
|
||||
{{ range .Params.items }}
|
||||
<a href="{{ .url }}" target="_blank">
|
||||
<div class="epsquare epcol{{ .cssClass }}">
|
||||
<div class="eptextfunc">{{ $found := false }}
|
||||
{{ range $key, $value := .title }}
|
||||
{{ if eq (string $.Site.Language) $key }}
|
||||
{{ $value }}
|
||||
{{ $found = true }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq $found false }}
|
||||
{{ .title.en }}
|
||||
{{ end }}</div>
|
||||
|
||||
<div class="eptextfunc">{{ .title }}</div>
|
||||
<div class="eptexttool">{{ .solution }}</div>
|
||||
</div></a>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user