-
Notifications
You must be signed in to change notification settings - Fork 351
Variables in categories (in frontmatter) do not parse properly when categories
is set to true in listing
#5578
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
Comments
We just fixed this in 1.4.70. |
(See #5534) |
@cscheid I've updated my Quarto to 1.4.70, deleted In my website (Netlify + GitHub Actions), I'm using the action |
You can check in your CI log which version of Quarto has been used. So please do confirm, 1.4.70 did not solve this. Additionally, please consider sharing a small "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```
The end.
```` |
The tags in the frontmatter of the page works fine for me too. The issue is when |
Can you share your full failing example? |
@cscheid ResultBlog listing pagePost pageAs you can see in the listings, the categories are not parsed. That's one issue. The other issue is in the feed (index.xml) file. The content is not parsed there as well, however I couldn't reproduce this for this sample. Anyway, you can find it on my website RSS file (https://ealizadeh.com/index.xml). I believe this issue is indeed a bug that wasn't fully resolved! |
Thanks for the reproducible example. I can reproduce parts of it here.
I'm not seeing
I can see the category title shortcodes not being resolved; I'll investigate more and fix. |
The problem here is not on the front matter itself. The problem is on listing items derived from front matter, which currently do not go through pandoc processing. Unfortunately, that requires larger changes in our system, so I don't have a fast solution for you. |
I see this issue has the “duplicate” label, but is it still? |
For reference: |
Bug description
I'm using variables for categories in the listing, they are properly parsed on the post page and the grid listing, however, they are not properly parsed in the following cases:
My setup
In the
.qmd
file of the post, the frontmatter contains the following:And these variables are defined in the
_variables.yml
file, like the following:Issues
RSS feed:

When

categories: true
in listing as can be seen below:App/system versions:
I'm using Quarto v1.4.37 in my VSCode v1.76.0 on macOS (13.3.1).
The output of
quarto check
is:Checklist
quarto check
so we know which version of quarto and its dependencies you're running.The text was updated successfully, but these errors were encountered: