Closed fflaten closed 1 year ago
Looks like this was changed at https://github.com/withastro/astro/pull/5687
But I can't seem to find where mod.frontmatter
would originate from
@bluwy It seems to be because that the frontmatter
property is not exported in the loader of vite-plugin-content-assets
.
What version of
astro
are you using?2.0.0-beta.2
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
When using content collections with Astro v2 beta, I'm unable to access frontmatter by a remark plugin.
With Astro v.1.9 this works fine when using
injectedFrontmatter
. Seeblog.astro
page in repro.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-a5wsjy
Participation