Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/content/posts/markdown.md has taxonomy tags` which is not defined in config.toml #18

Open
julie-de-ville opened this issue Oct 17, 2024 · 0 comments

Comments

@julie-de-ville
Copy link

julie-de-ville commented Oct 17, 2024

When I try to serve on a new site with just the theme, I get /content/posts/markdown.md has taxonomy `tags` which is not defined in config.toml

I see the taxonomy is defined in config.toml in the theme root, and I tried defining it in config.toml in the site root.

I also got this error earier:

Error: Failed to serve the site
Error: Error when parsing front matter of section `/home/julie/Personal Site/mysite/content/posts/_index.md`
Error: Reason: TOML parse error at line 3, column 1
  |
3 | path = "posts"
  | ^^^^
unknown field `path`, expected one of `title`, `description`, `sort_by`, `weight`, `draft`, `template`, `paginate_by`, `pagin
ate_reversed`, `paginate_path`, `insert_anchor_links`, `render`, `redirect_to`, `in_search_index`, `transparent`, `page_templ
ate`, `aliases`, `generate_feeds`, `extra`

But I removed the line, then got the first error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant