EJS templates working with things other than an items
array
#9985
-
DescriptionThe documentation on listing templates is clear that it can ingest a If An example of what I'd like to do for a days:
- gift: partridge in a pear tree
- gift: turtle dove With an ejs that would allow access to Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Are you looking for what we call This would be template-params:
days:
- gift: partridge in a pear tree
- gift: turtle dove That we pass to custom listings as it should allow you to do whatever you need with ejs. |
Beta Was this translation helpful? Give feedback.
Are you looking for what we call
template-params
(https://quarto.org/docs/websites/website-listings-custom.html#template-parameters) ?This would be
That we pass to custom listings as
templateParams
it should allow you to do whatever you need with ejs.