Custom path for items in listing #8130
Unanswered
tim-at-topos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
My Quarto project has the following structure:
In other words, each blog post is an
index.qmd
placed inside the directoryYYYY-MM-DD-slug/
, but to keep things easy to browse (since there are a lot of blog posts), these directories are placed inside a correspondingYYYY/
directory.The file
/blog/index.qmd
is a listing, with front matterWhich works almost perfectly, but the blog posts in the rendered site obviously have URLs of the form
/blog/YYYY/YYYY-MM-DD-slug
.How can I get Quarto to render these pages such that their URLs are of the form
/blog/YYYY-MM-DD-slug/
?Beta Was this translation helpful? Give feedback.
All reactions