You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this seems to depend on some config. Compare the example site (one language, so no language switcher) and SSLARCH (one language, but phantom language switcher), for example.
…joeroe#71
The `hugo.IsMultilingual` function
(https://gohugo.io/functions/hugo/ismultilingual/) can be used to test if there
is more than one configured language. If not, we just skip including the
language selection partial layout. It can mistakenly appear for mono-lingual
sites/content because it is always included, and the `lang.html` partial layout
seems to iterate through the entire range of configured languages, even when
it's only one language.
Requires Hugo v0.124.0 or newer.
But this seems to depend on some config. Compare the example site (one language, so no language switcher) and SSLARCH (one language, but phantom language switcher), for example.
See #70 and #44.
The text was updated successfully, but these errors were encountered: