mirror of
https://github.com/getzola/zola
synced 2024-11-13 23:57:06 +00:00
c054ed1b10
* Added support for multiple feeds * Implemented backwards-compatibility for feed config * Added a test for feed config backwards-compat, fixed bugs - Fixed language config merge bug found by a test - Adjusted two existing tests to fully check stuff related to multiple feeds - Added a new test for backwards-compatibility of the changes - Fixed bugs found by the newly added test * Renamed MightBeSingle to SingleOrVec * Made the multiple feeds config changes "loudly" backwards-incompatible * added #[serde(deny_unknown_fields)] to front-matter, fixed problems this found in tests
34 lines
630 B
TOML
34 lines
630 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 build a search index to be used later on by a JavaScript library
|
|
build_search_index = true
|
|
|
|
default_language = "en"
|
|
|
|
generate_feeds = true
|
|
|
|
taxonomies = [
|
|
{name = "authors", feed = true},
|
|
{name = "tags"},
|
|
]
|
|
|
|
[languages.fr]
|
|
generate_feeds = true
|
|
taxonomies = [
|
|
{name = "auteurs", feed = true},
|
|
{name = "tags"},
|
|
]
|
|
|
|
[languages.it]
|
|
build_search_index = true
|
|
|
|
[markdown]
|
|
highlight_code = false
|
|
|
|
|
|
[extra]
|
|
# Put all your custom variables here
|