actually ~3 month ago i changed the language button(s) on my website
This commit is contained in:
parent
ea69f7eb6d
commit
fef113c769
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ defaultContentLanguage: de
|
||||||
languages:
|
languages:
|
||||||
de:
|
de:
|
||||||
#contentDir: /content/de/
|
#contentDir: /content/de/
|
||||||
languageName: Deutsch
|
languageName: deutsch
|
||||||
languageCode: de
|
languageCode: de
|
||||||
weight: 1
|
weight: 1
|
||||||
menu:
|
menu:
|
||||||
|
@ -51,7 +51,7 @@ languages:
|
||||||
weight: 30
|
weight: 30
|
||||||
en:
|
en:
|
||||||
#contentDir: /content/en/
|
#contentDir: /content/en/
|
||||||
languageName: English
|
languageName: english
|
||||||
languageCode: en
|
languageCode: en
|
||||||
weight: 2
|
weight: 2
|
||||||
menu:
|
menu:
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
{{- if .IsTranslated }}
|
{{- if .IsTranslated }}
|
||||||
<aside>
|
<aside>
|
||||||
{{- range .Translations }}
|
{{- range .Translations }}
|
||||||
<a href="{{ .Permalink }}">{{ .Lang }}</a>
|
<a href="{{ .Permalink }}">{{ .Site.Params.languageName }}</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</aside>
|
</aside>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue