Skip to content
Discussion options

You must be logged in to vote

This won't work.
:::{#blog} is only a placeholder, it does not trigger the creation of a listings, it only overrides the default location of the listing.

The only way I think you might be able to do what you want is to use pre/post-render script to write the "index.qmd" file depending on profile/environment (see https://quarto.org/docs/projects/profiles.html).

Note that an issue to track this has be opened (can be seen on the right of your post): #4651

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andrewpbray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants