Previously, front matter REQUIRED a layout property (e.g. layout: ../../layouts/MarkdownPostLayout.astro) Now, it's ALSO OK to include your layout as an import in "setup":
setup: |
import Layout from '../../layouts/BlogPost.astro'
import SomeOtherComponent from '../../components/SomeOtherComponent.astro'
2. Expressions in props no longer work if surrounded by
""
Previously the following would work in an Astro component (perhaps unintentionally?). The
value
expression would be populated as expected.Now, the surrounding quotes need to be removed: