Skip to content
Discussion options

You must be logged in to vote

I freshly installed Doks, then updated hugo.toml:

# Multilingual
defaultContentLanguage = "nl"
disableLanguages = ["de", "en"]
defaultContentLanguageInSubdir = false

Copied node_modules/@thulite/doks-core/assets/js/flexsearch.js file and pasted it as assets/js/flexsearch.nl.js

This is what my search modal then looks like:

Then copied node_modules/@thulite/doks-core/layouts/_partials/header/search-modal.html and pasted it as layouts/_partials/header/search-modal.html

Ouch, it looks like the button labels are indeed hardcoded:

        <ul class="list-inline me-auto d-none d-md-block">
          <li class="list-inline-item"><kbd class="me-2"><svg width="15" height="15" aria-label="Enter key" 

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@h-enk
Comment options

h-enk Dec 1, 2025
Maintainer

@Backspaze
Comment options

@h-enk
Comment options

h-enk Dec 1, 2025
Maintainer

Answer selected by Backspaze
@h-enk
Comment options

h-enk Dec 1, 2025
Maintainer

@Backspaze
Comment options

@Backspaze
Comment options

@h-enk
Comment options

h-enk Dec 2, 2025
Maintainer

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants