-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Problem
For iterating through and rendering post contents, this repo uses Astro.glob instead of the recommended and new getCollection API.
The reason is that the Astro.glob API supports a really important API called compiledContent() on the entries returned. This API is important for rendering all .md and .mdx files to RSS, handling the <!--more--> comment, etc. See these links for more details:
- compiledContent() no longer working with getCollection() withastro/astro#10604
- Container API: render components in isolation withastro/roadmap#533
Solution
See examples here:
- https://docs.astro.build/en/reference/container-reference/#rendertostring
- MDX `compiledContent()` support withastro/roadmap#419 (reply in thread)
- Container APIs withastro/roadmap#916
We need to use getCollection everywhere, and make sure the RSS feed isn't broken.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed