You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/07/25 15:41:24 UTC
[shardingsphere] branch master updated: fix some errors (#6442)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 9116e89 fix some errors (#6442)
9116e89 is described below
commit 9116e89f85ee68e8796980d87fdbf94cd0090a30
Author: CaymanHK <55...@users.noreply.github.com>
AuthorDate: Sat Jul 25 23:41:06 2020 +0800
fix some errors (#6442)
---
docs/blog/config.toml | 2 +-
docs/community/config.toml | 2 +-
docs/document/themes/hugo-theme-learn/layouts/partials/menu.html | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/blog/config.toml b/docs/blog/config.toml
index d5f5e9e..cfc1cb4 100644
--- a/docs/blog/config.toml
+++ b/docs/blog/config.toml
@@ -15,7 +15,7 @@ languageName = "English"
[Languages.cn]
title = "ShardingSphere"
weight = 2
-languageName = "Chinese"
+languageName = "简体中文"
[params]
# Change default color scheme with a variant one. Can be "red", "blue", "green".
themeVariant = "black"
diff --git a/docs/community/config.toml b/docs/community/config.toml
index 5d2cd69..f9c1c30 100644
--- a/docs/community/config.toml
+++ b/docs/community/config.toml
@@ -15,7 +15,7 @@ languageName = "English"
[Languages.cn]
title = "ShardingSphere"
weight = 2
-languageName = "Chinese"
+languageName = "简体中文"
[params]
# Change default color scheme with a variant one. Can be "red", "blue", "green".
themeVariant = "black"
diff --git a/docs/document/themes/hugo-theme-learn/layouts/partials/menu.html b/docs/document/themes/hugo-theme-learn/layouts/partials/menu.html
index 659e670..2eb7745 100644
--- a/docs/document/themes/hugo-theme-learn/layouts/partials/menu.html
+++ b/docs/document/themes/hugo-theme-learn/layouts/partials/menu.html
@@ -57,9 +57,9 @@
{{ if eq $translation.Lang .Lang }}
{{ $selected := false }}
{{ if eq $pageLang .Lang}}
- <option id="{{ $translation.Language }}" value="{{ $translation.Permalink }}" selected>{{ .LanguageName }}</option>
+ <option id="{{ $translation.Language }}" value="{{ $translation.URL }}" selected>{{ .LanguageName }}</option>
{{ else }}
- <option id="{{ $translation.Language }}" value="{{ $translation.Permalink }}">{{ .LanguageName }}</option>
+ <option id="{{ $translation.Language }}" value="{{ $translation.URL }}">{{ .LanguageName }}</option>
{{ end }}
{{ end }}
{{ end }}