mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -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
10 lines
367 B
Markdown
10 lines
367 B
Markdown
---
|
|
'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.
|