Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n(zh-cn): Update tutorial/4-layouts/1.mdx #8330

Merged
merged 3 commits into from
May 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/zh-cn/tutorial/4-layouts/1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ import { Steps } from '@astrojs/starlight/components';

- 通过组件属性将页面标题作为 props 传递。
- 让布局负责渲染任何共同的 HTML。
- 删除每个页面中不再负责渲染的任何内容,因为布局会来处理它,包括:
- 删除由布局正在处理的每个单独页面中的内容,包括:

- HTML 元素
- 组件及其导入语句
Expand Down
Loading