diff --git a/src/content/docs/en/guides/upgrade-to/v1.mdx b/src/content/docs/en/guides/upgrade-to/v1.mdx index 072d6f784179a..567d8416ed07f 100644 --- a/src/content/docs/en/guides/upgrade-to/v1.mdx +++ b/src/content/docs/en/guides/upgrade-to/v1.mdx @@ -385,7 +385,7 @@ import './style.css'; Importing CSS files should work anywhere that ESM imports are supported, including: - JavaScript files - TypeScript files -- Astro component front matter +- Astro component frontmatter - non-Astro components like React, Svelte, and others When a CSS file is imported using this method, any `@import` statements are also resolved and inlined into the imported CSS file. All `url()` references are also resolved relative to the source file, and any `url()` referenced assets will be included in the final build. @@ -661,7 +661,7 @@ Ensure you have PostCSS installed. This was optional in previous releases, but i #### Imports on top -In Astro v0.21+, a bug has been introduced that requires imports inside components to be at the top of your front matter. +In Astro v0.21+, a bug has been introduced that requires imports inside components to be at the top of your frontmatter. ```astro --- diff --git a/src/content/docs/en/install/manual.mdx b/src/content/docs/en/install/manual.mdx index 12e1f67c06437..b6cd2be695c5f 100644 --- a/src/content/docs/en/install/manual.mdx +++ b/src/content/docs/en/install/manual.mdx @@ -100,7 +100,7 @@ For this guide, copy-and-paste the following code snippet (including `---` dashe ```astro title="src/pages/index.astro" --- // Welcome to Astro! Everything between these triple-dash code fences -// is your "component front matter". It never runs in the browser. +// is your "component frontmatter". It never runs in the browser. console.log('This runs in your terminal, not the browser!'); ---