Skip to content

Commit f10a3c1

Browse files
committed
fix(config): add workaround for the "categories" taxonomy error when using papaya theme
What: Copies the taxnomies config to all languages: Why: Fixes this error: ``` [I] norman@cyan ~/code/blog (main) ❯ zola build Building site... Error: Failed to build the site Error: Page `/Users/norman/code/blog/content/projects/project-1/index.md` has taxonomy `categories` which is not defined in config.toml ``` Discussion: https://zola.discourse.group/t/zola-0-15-3-issue-not-all-pages-sections-have-their-language-and-translations-set-properly/1385 Open issue: getzola/zola#1918
1 parent 8445d17 commit f10a3c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config.toml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ title = "Norman's Blog"
2121
description = "Notes and thoughts on software, Japan, and etc."
2222
generate_feed = true
2323
feed_filename = "atom.xml"
24+
taxonomies = [
25+
{ name = "tags", rss = true },
26+
{ name = "categories", rss = true },
27+
]
2428

2529
[languages.en.translations]
2630
projects = "Projects"

0 commit comments

Comments
 (0)