mirror of https://github.com/istio/istio.io.git
Chinese is optional now (#6398)
This commit is contained in:
parent
cdd2fc6b29
commit
55aaa89218
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue