Replies: 1 comment
-
Here you are requesting Look at the contents described in the documentation: https://quarto.org/docs/websites/website-listings-custom.html#metadata-file-listings |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm following this documentation regarding the cust listings and implementing sorting and filtering. The problem I encounter is that when rendering the example code (with a modified class to just point to the name)
and an updated index frontmatter set:
I end up with the only the
Test display
showing for the four items but no values from the frontmatter of the given item.Note that I can get the list to display with out the filtering, but as soon as i add the
metadataAttrs(item)
stuff, it fails to work.To sanity check that the data was available. I console logged the item object in the for loop:
I'm unable to debug it further, is there more details on what
metadataAttrs
is doing under the hood that could be causing this?Beta Was this translation helpful? Give feedback.
All reactions