-
DescriptionHello! I'm trying to reproduce the example from YAML Listing Content section in Guide > Websites > Listing Pages, but with no success. It looks like inputs that match a glob and inputs provided explicitly via YAML file are not getting merged and glob inputs take priority. After creating a fresh project with
... and a file
... but the resulting listing shows only If I comment out posts ( Further and building from the example in documentation, if I create another YAML file as a source of content and edit
... it will display items merged from both YAML sources. However, including Am I missing out on something or there is a problem in the documentation? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository (preferably)? Thanks. Edit: to be clear, I cannot reproduce with what you shared, so something in your project/environment is missing for us to reproduce. |
Beta Was this translation helpful? Give feedback.
-
@dspm following your instruction, I can't reproduce with 1.4.551 latest release. I get this when looking at
So the archived-items.yml content is included also in the listing table |
Beta Was this translation helpful? Give feedback.
-
I can successfully replicate the example from documentation if I run So, This solves the problem for me, but feels like an unexpected behaviour and might be of interest to someone to see why it happens (I'm guessing preview misses paths of YAML content files and gives no warning), especially if it generalises to YAML content files placed in directories beneath the root. |
Beta Was this translation helpful? Give feedback.
Tracked in #9086