Skip to content

Commit

Permalink
docs: changed "front matter" to "frontmatter" (withastro#3042)
Browse files Browse the repository at this point in the history
  • Loading branch information
stormynight9 authored Apr 13, 2023
1 parent 6e5daac commit 125c7c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/content/docs/en/core-concepts/astro-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Astro also treats any Markdown (`.md`) files inside of `src/pages/` as pages in

[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).

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.
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.

```md {3}
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ru/core-concepts/astro-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Astro также обрабатывает любые файлы Markdown (`.md`)
Они обычно используются для страниц с большим объемом текста, таких как записи в блогах и документация.

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

```md {3}
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/zh-tw/core-concepts/astro-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import MySiteLayout from '../layouts/MySiteLayout.astro';

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

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

```md {3}
---
Expand Down

0 comments on commit 125c7c8

Please sign in to comment.