Skip to content

Commit 9a4637a

Browse files
committed
docs: changed "front matter" to "frontmatter"
1 parent 6e5daac commit 9a4637a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/content/docs/en/core-concepts/astro-pages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Astro also treats any Markdown (`.md`) files inside of `src/pages/` as pages in
6565

6666
[Collections of Markdown or MDX page content](/en/guides/content-collections/) in `src/content/` can be used to [generate pages dynamically](/en/core-concepts/routing/#dynamic-routes).
6767

68-
Page layouts are especially useful for [Markdown files](#markdownmdx-pages). Markdown files can use the special `layout` front matter property to specify a [layout component](/en/core-concepts/layouts/) that will wrap their Markdown content in a full `<html>...</html>` page document.
68+
Page layouts are especially useful for [Markdown files](#markdownmdx-pages). Markdown files can use the special `layout` frontmatter property to specify a [layout component](/en/core-concepts/layouts/) that will wrap their Markdown content in a full `<html>...</html>` page document.
6969

7070
```md {3}
7171
---

src/content/docs/ru/core-concepts/astro-pages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Astro также обрабатывает любые файлы Markdown (`.md`)
6767
Они обычно используются для страниц с большим объемом текста, таких как записи в блогах и документация.
6868

6969
Макеты страниц особенно полезны для [Markdown файлов](#markdownmdx-страницы).
70-
Файлы Markdown могут использовать специальное свойство `layout` front matter для указания [компонента макета](/ru/core-concepts/layouts/)
70+
Файлы Markdown могут использовать специальное свойство `layout` frontmatter для указания [компонента макета](/ru/core-concepts/layouts/)
7171
это обернет их содержимое в `<html>...</html>`.
7272

7373
```md {3}

src/content/docs/zh-tw/core-concepts/astro-pages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ import MySiteLayout from '../layouts/MySiteLayout.astro';
5959

6060
Astro 也會將任何 `src/pages/` 內的 Markdown(`.md`)檔作為你最後網站的頁面。如果你有[安裝 MDX 整合](/zh-tw/guides/integrations-guide/mdx/#installation)的話,它也會將 MDX(`.mdx`)檔做同樣的事。這普遍用來做成大量文字的頁面,像是部落格文章和文件。
6161

62-
頁面版面在 [Markdown 檔](#markdownmdx-頁面)特別地有用。Markdown 檔可以使用特殊的 `layout` front matter 屬性去指定一個 [版面 component](/zh-tw/core-concepts/layouts/),其會將他們的 Markdown 內容包進一個完整的 `<html>...</html>` 的頁面檔案裡。
62+
頁面版面在 [Markdown 檔](#markdownmdx-頁面)特別地有用。Markdown 檔可以使用特殊的 `layout` frontmatter 屬性去指定一個 [版面 component](/zh-tw/core-concepts/layouts/),其會將他們的 Markdown 內容包進一個完整的 `<html>...</html>` 的頁面檔案裡。
6363

6464
```md {3}
6565
---

0 commit comments

Comments
 (0)