Markdown files without content miss custom frontmatter added via remark plugin #12800
Open
1 task done
Labels
needs triage
Issue needs to be triaged
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When using:
then the custom data is not present on the content entry when rendering it.
See the reproduction where the working example is a markdown file with content, and the broken example is a markdown file without content. Within the same content collection.
This has been discussed in Discord: https://discord.com/channels/830184174198718474/1318215008647122994
What's the expected result?
The expected result is to have the custom data that is added via the custom remark plugin available when rendering the content entry.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-58srtbao?file=src%2Fpages%2F%5Bslug%5D.astro
Participation
The text was updated successfully, but these errors were encountered: