mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
9db9fc8fb2
* fix the issue of generating the search index for multiple language * updat docs for generating the search index for multiple language * fix failed tests * add tests for the search index of multiple language
31 lines
754 B
TOML
31 lines
754 B
TOML
# The URL the site will be built for
|
|
base_url = "https://example.com"
|
|
|
|
# Whether to automatically compile all Sass files in the sass directory
|
|
compile_sass = false
|
|
|
|
# Whether to do syntax highlighting
|
|
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
|
highlight_code = false
|
|
|
|
# Whether to build a search index to be used later on by a JavaScript library
|
|
build_search_index = true
|
|
|
|
default_language = "en"
|
|
|
|
generate_rss = true
|
|
|
|
taxonomies = [
|
|
{name = "authors", rss = true},
|
|
{name = "auteurs", lang = "fr"},
|
|
{name = "tags"},
|
|
{name = "tags", lang = "fr"},
|
|
]
|
|
|
|
languages = [
|
|
{code = "fr", rss = true},
|
|
{code = "it", rss = false, search = true },
|
|
]
|
|
|
|
[extra]
|
|
# Put all your custom variables here
|