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/"
|
baseURL = "https://my.ecogood.world/"
|
||||||
#languageCode = "de-de"
|
languageCode = "en"
|
||||||
title = "Ecogood Portal old"
|
title = "ECG Portal"
|
||||||
defaultContentLanguageInSubdir = true
|
|
||||||
|
|
||||||
disableKinds = ["RSS", "sitemap", "taxonomy", "taxonomyTerm"]
|
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
|
# cssClass: forum
|
||||||
- url: https://mail.ecogood.org
|
- url: https://mail.ecogood.org
|
||||||
solution: Rainloop
|
solution: Rainloop
|
||||||
title:
|
title: Webmail
|
||||||
en: Webmail
|
|
||||||
de: Webmail
|
|
||||||
cssClass: mail
|
cssClass: mail
|
||||||
- url: https://wiki.ecogood.org
|
- url: https://wiki.ecogood.org
|
||||||
solution: Confluence
|
solution: Confluence
|
||||||
title:
|
title: Wiki
|
||||||
en: Wiki
|
|
||||||
de: Wiki
|
|
||||||
cssClass: wiki
|
cssClass: wiki
|
||||||
- url: https://cloud.ecogood.world
|
- url: https://cloud.ecogood.world
|
||||||
solution: Nextcloud
|
solution: Nextcloud
|
||||||
title:
|
title: Data cloud
|
||||||
en: Data cloud
|
|
||||||
de: Datenspeicher
|
|
||||||
cssClass: cloud
|
cssClass: cloud
|
||||||
- url: https://list.ecogood.org/wws
|
- url: https://list.ecogood.org/wws
|
||||||
solution: Sympa
|
solution: Sympa
|
||||||
title:
|
title: E-Mail lists
|
||||||
en: E-Mail lists
|
|
||||||
de: Mailinglisten
|
|
||||||
cssClass: maillist
|
cssClass: maillist
|
||||||
- url: https://login.smartwe.de/SmartWe/
|
- url: https://login.smartwe.de/SmartWe/
|
||||||
solution: SmartWE
|
solution: SmartWE
|
||||||
title:
|
title: Membership admin
|
||||||
en: Membership admin
|
|
||||||
de: Mitglieder- verwaltung
|
|
||||||
cssClass: smartwe
|
cssClass: smartwe
|
||||||
- url: https://git.ecogood.world
|
- url: https://git.ecogood.world
|
||||||
solution: Gitea
|
solution: Gitea
|
||||||
title:
|
title: Code hosting
|
||||||
en: Code hosting
|
|
||||||
de: Code Repos
|
|
||||||
cssClass: code
|
cssClass: code
|
||||||
- url: https://jira.ecogood.org
|
- url: https://jira.ecogood.org
|
||||||
solution: JIRA
|
solution: JIRA
|
||||||
title:
|
title: Ticket system
|
||||||
en: Ticket system
|
|
||||||
de: Ticketsystem
|
|
||||||
cssClass: projekte
|
cssClass: projekte
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -9,18 +9,7 @@
|
|||||||
{{ range .Params.items }}
|
{{ range .Params.items }}
|
||||||
<a href="{{ .url }}" target="_blank">
|
<a href="{{ .url }}" target="_blank">
|
||||||
<div class="epsquare epcol{{ .cssClass }}">
|
<div class="epsquare epcol{{ .cssClass }}">
|
||||||
<div class="eptextfunc">{{ $found := false }}
|
<div class="eptextfunc">{{ .title }}</div>
|
||||||
{{ 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="eptexttool">{{ .solution }}</div>
|
<div class="eptexttool">{{ .solution }}</div>
|
||||||
</div></a>
|
</div></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user