mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
d1f5611feb
* Add additional scoping for head buffering * Add test for direct usage of nested component * Add special scoping for Astro.scopes.render() * Generate propagation map during the build * Move to a maybeHead instruction * Properly serialize for SSR * More conservative scoping * Maybe had should honor result._metadata.hasRenderedHead * Properly type slots * Allow template result to be passed * Add changeset
367 B
367 B
astro |
---|
patch |
Fix MDX related head placement bugs
This fixes a variety of head content placement bugs (such as page <link>
) related to MDX, especially when used in content collections. Issues fixed:
- Head content being placed in the body instead of the head.
- Head content missing when rendering an MDX component from within a nested Astro component.