Skip to content
Discussion options

You must be logged in to vote

There are no quotes in shortcodes or at least they are not needed. They only make the shortcode longer to type and less readable.
"last-modified" is not a YAML key, it's a value for date, thus if you want to get the value you need to call meta shortcode on date.

Below is an example using format: revealjs, since you did not specify any.
Hope this help as the same principle should work for any YAML key and for any formats.

See Quarto document code.
---
title: revealjs lists
date: last-modified
footer: "{{< meta date >}}"
format: revealjs
---

## Slide

This is some text.

1. first
2. second

This is more text.

- bullet
- bill

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@peterschindler
Comment options

@mcanouil
Comment options

Answer selected by peterschindler
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