Skip to content
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
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