Skip to content

Dynamically adding a version number to the footer #13001

Answered by cscheid
cliffckerr asked this question in Q&A
Discussion options

You must be logged in to vote

Even in block position, it's still rendering as {{< include _footer.qmd >}} instead of © 2025 My Website..

Ok, that makes sense and yes, it is a block! So let me give a full explanation:

As a very short answer, it's a shortcoming of Quarto that the include shortcode doesn't work on markdown values in _quarto.yml the same way that {{< version >}} does.

Notice that I'm not calling it a bug. That's because it's a design shortcoming. The shortcoming comes when when these two following facts interact:

  • include needs to make document inclusions available at the time of engine execution, and so include needs to do its thing very
  • Markdown content in YAML is almost entirely handled by Pandoc (fo…

Replies: 3 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
14 replies
@mcanouil
Comment options

@cliffckerr
Comment options

@mcanouil
Comment options

@cscheid
Comment options

Answer selected by cliffckerr
@mcanouil
Comment options

@cliffckerr
Comment options

@mcanouil
Comment options

mcanouil Jul 1, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
websites Issues creating websites
3 participants