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 4-layouts/1.mdx #8599

Merged
merged 3 commits into from
Jun 20, 2024
Merged
Changes from 1 commit
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
Next Next commit
i18n(zh-cn): Update 4-layouts/1.mdx
  • Loading branch information
liruifengv committed Jun 20, 2024
commit e89e68f497f44461f96d7adeaf0180951ba96f2f
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 模板中。
liruifengv marked this conversation as resolved.
Show resolved Hide resolved
- 删除由布局正在处理的每个单独页面中的内容,包括:

- HTML 元素
Expand Down
Loading