Replies: 1 comment
-
|
Heads up that Regarding the general concept, this sounds like a duplicate of #1187 so I'd recommend reading up and sharing any thoughts there so we don't split discussion across multiple threads. |
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.
-
Body
I want to use Astro.glob with .astro files instead of .json or .yaml. The frontmatter can set the metadata like
Astro.content = contentpropsthat sets the props needed by Content Collections likeid.The rendered component string can be available on a
renderedproperty of the Content object.Using .astro files in Content Collections is needed so every object can have a custom presentation but the metadata follows a same pattern.
Beta Was this translation helpful? Give feedback.
All reactions