Open
Description
Bug Report
Environment
Zola version: 0.18.0
Expected Behavior
$ zola build
should build the website without errors.
Current Behavior
Upon $ zola build
the following error is raised:
Error: Failed to build the site
Error: `search` for default language is specified twice, as Search { include_title: true, include_content: true, truncate_content_length: None, include_description: false, include_path: false, index_format: ElasticlunrJson } and Search { include_title: true, include_content: true, truncate_content_length: None, include_description: false, include_path: false, index_format: ElasticlunrJavascript }.
Step to reproduce
- Create a new project with
$ zola init
, agree to activation of search index. - Add the following lines to
config.toml
:
search.index_format = "elasticlunr_json"
[languages.en.translations]
- Run
$ zola build
.