Multiple feeds support introduced in Zola v0.19.0

This commit is contained in:
daudix
2024-06-27 04:25:07 +03:00
parent c592f88a6b
commit 494cb5474f
4 changed files with 15 additions and 12 deletions

View File

@ -4,8 +4,10 @@ description = "Modern, pretty, and clean theme."
compile_sass = true
minify_html = true
generate_feed = true
feed_filename = "atom.xml"
generate_feeds = true
# Only the first file will be used in the navbar feed button,
# other feeds will still be available in page's head.
feed_filenames = ["rss.xml", "atom.xml"]
build_search_index = false
author = "Duck Quack"
@ -25,14 +27,14 @@ taxonomies = [{ name = "tags", feed = true }]
[languages.ru]
title = "Duckquill"
description = "Современная, симпатичная и аккуратная тема."
generate_feed = true
generate_feeds = true
taxonomies = [{ name = "tags", feed = true }]
[languages.ar]
title = "Duckquill"
description = "ثيم عصري وجميل ونظيف."
generate_feed = true
generate_feeds = true
taxonomies = [{ name = "tags", feed = true }]
@ -94,9 +96,6 @@ links = [
{ url = "@/blog/_index.md", name = "Blog" },
{ url = "@/demo/index.md", name = "Demo" },
{ url = "https://codeberg.org/daudix/duckquill", name = "Repo" },
{ url = "@/blog/_index.md", name = "Blog" },
{ url = "@/demo/index.md", name = "Demo" },
{ url = "https://codeberg.org/daudix/duckquill", name = "Repo" },
]
# Social links in the footer.
# Any URL-encoded SVG can be used as an icon.