Merging listing metadata #8232
-
DescriptionI have a website with several listings but some of the listing:
contents:
- extra.qmd When I render the website, it succeeds in adding ![]() Any leads as to what is going on here? Reprex here: https://github.com/andrewpbray/mwe-blog. This is on Quarto 1.3.433. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 17 replies
-
An interesting and less surprising addendum: I tried renaming |
Beta Was this translation helpful? Give feedback.
-
I don't know what you try to do with include but it seems very complicated and not reliable while contents accepts a lot of things: contents:
- path: https://github.com/mcanouil/quarto-invoice
image: /projects/quarto-extension.png
title: "Invoice (Typst)"
description: "Quarto Typst template extension to make invoices."
date: "2023-11-24"
categories: [Quarto, Extension, HTML] contents: posts contents:
- publications.yml Etc. Edit: Note also and as described in the documentation, I am not in front of a laptop, so that's the obvious things wrong. |
Beta Was this translation helpful? Give feedback.
Really hard to say as the picture is far from complete.
For instance, it's easy (from what you said) to write your listing content as a YAML file, and use that file inside the Quarto document hosting the listing.
This way, it is not your listing that is changing, but its content and there is nothing to try to merge at different level.
EDIT: I never tried to set two YAML, but I don't see any reason for it to not work.