Fix typo in error message

This commit is contained in:
Vincent Prouillet 2023-05-02 13:39:13 +02:00 committed by Vincent Prouillet
parent 8e37025729
commit 448a941f93

View File

@ -370,7 +370,7 @@ impl Site {
if self.config.build_search_index && !index_section.meta.in_search_index {
bail!(
"You have enabled search in the config but disabled it in the index section: \
either turn off the search in the config or remote `in_search_index = true` from the \
either turn off the search in the config or remove `in_search_index = true` from the \
section front-matter."
)
}