Skip to content

Commit

Permalink
i18n(zh-cn): Update 4-layouts/1.mdx (#8599)
Browse files Browse the repository at this point in the history
* i18n(zh-cn): Update `4-layouts/1.mdx`

* Update src/content/docs/zh-cn/tutorial/4-layouts/1.mdx

Co-authored-by: Nin3 <[email protected]>

---------

Co-authored-by: Nin3 <[email protected]>
  • Loading branch information
liruifengv and Nin3lee committed Jun 20, 2024
1 parent a4e7729 commit 22cc788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/content/docs/zh-cn/tutorial/4-layouts/1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ import { Steps } from '@astrojs/starlight/components';

- 通过组件属性将页面标题作为 props 传递。
- 让布局负责渲染任何共同的 HTML。
- 将页面 `<head>` 中任何现有的 `<style>` 标签以及你希望保留的样式移动到页面 HTML 模板中。
- 删除由布局正在处理的每个单独页面中的内容,包括:

- HTML 元素
Expand Down

0 comments on commit 22cc788

Please sign in to comment.