zola icon indicating copy to clipboard operation
zola copied to clipboard

Error: `search` for default language is specified twice

Open kh4rit opened this issue 4 months ago • 1 comments

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

  1. Create a new project with $ zola init, agree to activation of search index.
  2. Add the following lines to config.toml:
search.index_format = "elasticlunr_json"
[languages.en.translations]
  1. Run $ zola build.

kh4rit avatar Mar 31 '24 09:03 kh4rit

Same issue here…

@kh4rit Di you find a counter-measure for it in the meanwhile?

DevOpsCraftsman avatar May 20 '24 17:05 DevOpsCraftsman