Skip to content

Commit

Permalink
fix some errors (apache#6442)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaymanHK authored Jul 25, 2020
1 parent 77ac3e2 commit 9116e89
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/blog/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion docs/community/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ <h3>{{ if not $disableShortcutsTitle}}{{ T "Shortcuts-Title"}}{{ end }}</h3>
{{ 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 }}
Expand Down

0 comments on commit 9116e89

Please sign in to comment.