fix(i18n): fix mobile i18n link error and zh -> zh-CN

This commit is contained in:
Dillon
2020-03-04 11:55:33 +08:00
parent 5acda2110c
commit cedd6f17a2
9 changed files with 23 additions and 23 deletions

View File

@@ -63,7 +63,7 @@
<span class="menu-item">
<i class="fas fa-language fa-fw"></i>&nbsp;
<select class="select-language" onchange="location = this.value;">
{{- range .Site.Home.AllTranslations -}}
{{- range .Page.AllTranslations -}}
{{- $translation := . -}}
{{- range $.Site.Languages -}}
{{- if eq $translation.Lang .Lang -}}