mirror of
https://github.com/getzola/zola
synced 2024-12-12 13:22:29 +00:00
f4a1e99b98
The W3C feed validator fails to validate RSS 2.0 and Atom 1.0 feed elements that do not contain a valid author. This change adds an `authors: Vec<String>` to pages, as well as an `author: Option<String>` to Config that will act as a default to use in RSS and Atom templates if no page-level authors are specified.
37 lines
731 B
TOML
37 lines
731 B
TOML
title = "My Integration Testing site"
|
|
base_url = "https://replace-this-with-your-url.com"
|
|
compile_sass = true
|
|
generate_feed = true
|
|
theme = "sample"
|
|
|
|
taxonomies = [
|
|
{name = "categories", feed = true},
|
|
{name = "podcast_authors", feed = true},
|
|
]
|
|
|
|
ignored_content = ["*/ignored.md"]
|
|
|
|
author = "config@example.com (Config Author)"
|
|
|
|
[markdown]
|
|
highlight_code = true
|
|
highlight_theme = "custom_gruvbox"
|
|
extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"]
|
|
|
|
[slugify]
|
|
paths = "on"
|
|
taxonomies = "on"
|
|
anchors = "on"
|
|
|
|
[link_checker]
|
|
skip_prefixes = [
|
|
"http://[2001:db8::]/",
|
|
"http://invaliddomain",
|
|
]
|
|
|
|
skip_anchor_prefixes = [
|
|
"https://github.com/rust-lang/rust/blob/",
|
|
]
|
|
|
|
[extra.author]
|
|
name = "Vincent Prouillet"
|