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

Compile error when the same taxonomy tag is used twice with different case #2494

Open
kuon opened this issue May 10, 2024 · 1 comment
Open

Comments

@kuon
Copy link

kuon commented May 10, 2024

Bug Report

Environment

Zola version: 0.18

Expected Behavior

It should compile.

Current Behavior

Error is thrown:

Error: Reason: Failed to render 'vods.html'
Error: Reason: Function call 'get_taxonomy_term' failed
Error: Reason: `get_taxonomy_term_by_name` received an unknown taxonomy as kind: games

Step to reproduce

Configure a taxonomy,:

taxonomies = [
  {name = "games"}
]

Create two pages with the following front:

+++
title = "A"
[taxonomies]
games = ["League of legends"]
+++
+++
title = "B"
[taxonomies]
games = ["League of Legends"]
+++

(notice capitalization difference of Legends)

@Keats
Copy link
Collaborator

Keats commented May 10, 2024

The error is happening in the template, what does vods.html looks like?

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

2 participants