Skip to content
Discussion options

You must be logged in to vote

_variables.yml is not conditional on profiles.
_variables.yml is not the same thing as _quarto.yml, i.e., the variable shortcode don't access _quarto.yml but the meta shortcode does. _quarto.yml stores metadata.

If you want variables to depend on profiles, then the conditional content approach is the good and only one for now at least.

See:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ToryDeng
Comment options

Answer selected by ToryDeng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants