Merge branch 'master' of github.com:themefisher/dot-hugo-documentation-theme

This commit is contained in:
somrat 2019-11-10 11:11:59 +06:00
commit d5d0529956
2 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,7 @@ secondaryColor = "#f9f9f9"
textColor = "#636363"
textColorDark = "#242738"
whiteColor = "#ffffff"
disableLanguageSwitchingButton = false
[Languages]

View file

@ -43,6 +43,7 @@
{{ end }}
</ul>
<!-- Language List -->
{{- if and .Site.IsMultiLingual (not .Site.Params.DisableLanguageSwitchingButton)}}
<select id="select-language" onchange="location = this.value;">
{{ $siteLanguages := .Site.Languages}}
{{ $pageLang := .Page.Lang}}
@ -61,5 +62,6 @@
{{ end }}
{{ end }}
</select>
{{ end }}
</div>
</nav>