Skip to content

Commit

Permalink
fixing #521 default language issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhattor committed Jun 19, 2023
1 parent e068b76 commit 4eb209c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{{ else }}
<select id="langpicker" class="selectpicker" data-style="btn-light btn-sm ml-3" data-width="fit">
<option>{{ .Site.Language.LanguageName }}</option>
{{ range where .Translations ".Language.LanguageName" "in" "English 日本語 Français"}}
{{ range where .Translations ".Language.LanguageName" "in" "English 日本語 Français 中文"}}
<option value="{{ .Permalink }}">{{ .Language.LanguageName }}</option>
{{ end }}
</select>
Expand Down

0 comments on commit 4eb209c

Please sign in to comment.