Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Guides and Reference dropdown if language is != defaultContentLanguage #1104

Open
JanKru opened this issue Oct 2, 2023 · 0 comments
Open

Comments

@JanKru
Copy link

JanKru commented Oct 2, 2023

Expected behaviour

GUIDES and REFERENCE dropdown should also appear on other languages then german.
Bildschirmfoto 2023-10-02 um 14 50 37

Current behavior

No dropdowns are shown
Bildschirmfoto 2023-10-02 um 14 52 53

Who to reproduce

  1. Create new doks npm create hyas@latest -- --template doks
  2. Change multilingualModein doks.toml to multilingualMode = true
  3. Change disableLanguages in hugo.toml to disableLanguages = [ "nl"]
  4. Create german content `npm run create docs/guides/lang-example.de.md``
  5. Create english content npm run create docs/guides/lang-example.en.md

I guess for what reason over when the language is changed the Site.Sections in auto-collapsible-menu.html in node_modules/@hyas/doks-core/layouts/partials/sidebar/auto-collapsible-menu.htmlis empty?

@JanKru JanKru changed the title No Guides and Reference dropdown if language is != englisch on content pages No Guides and Reference dropdown if language is != defaultContentLanguage Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant