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:
|
||||
de:
|
||||
#contentDir: /content/de/
|
||||
languageName: Deutsch
|
||||
languageName: deutsch
|
||||
languageCode: de
|
||||
weight: 1
|
||||
menu:
|
||||
|
@ -51,7 +51,7 @@ languages:
|
|||
weight: 30
|
||||
en:
|
||||
#contentDir: /content/en/
|
||||
languageName: English
|
||||
languageName: english
|
||||
languageCode: en
|
||||
weight: 2
|
||||
menu:
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{{- if .IsTranslated }}
|
||||
<aside>
|
||||
{{- range .Translations }}
|
||||
<a href="{{ .Permalink }}">{{ .Lang }}</a>
|
||||
<a href="{{ .Permalink }}">{{ .Site.Params.languageName }}</a>
|
||||
{{- end }}
|
||||
</aside>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue