diff --git a/README.md b/README.md index 13d3217..92f10ae 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,9 @@ paginate = 5 # show selector to switch language showLanguageSelector = false + # show language menu at the side of the menu rather than below + # LanguageMenuLevel = 0 + # set theme to full screen width fullWidthTheme = false diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index d0afa4d..e6e522c 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -29,8 +29,13 @@ {{ end }} {{ end }} {{ end }} + {{ if eq $.Site.Params.LanguageMenuLevel 0 }} + +