Chinese is optional now (#6398)

This commit is contained in:
2BFL 2020-02-07 00:15:19 +08:00 committed by GitHub
parent cdd2fc6b29
commit 55aaa89218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -19,7 +19,7 @@
https://istio.netlify.com/* https://istio.io/:splat 301!
# Redirect to translated sites
# / /zh 302 Language=zh
/ /zh 302 Language=zh
# Redirect for the helm charts
/charts/ https://storage.googleapis.com/istio-release/releases/{{ .Site.Data.args.full_version }}/charts/ 301

View File

@ -76,12 +76,10 @@
</button>
<div id="gearDropdownContent" class="menu-content" aria-labelledby="gearDropdownButton" role="menu">
<!--
<a tabindex="-1" role="menuitem" lang="en" id="switch-lang-en" {{ if eq $home.Lang "en" }}class="active"{{ end }}>English</a>
<a tabindex="-1" role="menuitem" lang="zh" id="switch-lang-zh" {{ if eq $home.Lang "zh" }}class="active"{{ end }}>中文</a>
<div role="separator"></div>
-->
<a tabindex="-1" role="menuitem" class="active" id="light-theme-item">{{ i18n "light_theme" }}</a>
<a tabindex="-1" role="menuitem" id="dark-theme-item">{{ i18n "dark_theme" }}</a>