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

languages.en.build_search_index = true doesn't work if build_search_index is false for the default language #2689

Open
salif opened this issue Nov 7, 2024 · 0 comments
Labels

Comments

@salif
Copy link

salif commented Nov 7, 2024

Bug Report

Environment

Zola version: 0.19.2

Expected Behavior

I want to enable search only for english language because default language Bulgarian bg is not supported.

Current Behavior

Neither search_index.en.js nor elasticlunr.min.js file is generated.

Step to reproduce

This is in my config.toml file:

default_language = "bg"
build_search_index = false

[languages.en]
build_search_index = true
@Keats Keats added the bug label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants