You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/zh-cn/docs/contribute/style/content-organization.md
+16-20Lines changed: 16 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,13 @@ This site uses Hugo. In Hugo, [content
16
16
organization](https://gohugo.io/content-management/organization/) is a core
17
17
concept.
18
18
-->
19
-
本网站使用了 Hugo。在 Hugo 中,[内容组织](https://gohugo.io/content-management/organization/)是一个核心概念。
19
+
本网站使用了 Hugo。在 Hugo 中,[内容组织](https://gohugo.io/content-management/organization/)是一个核心概念。
20
20
21
21
<!-- body -->
22
+
22
23
<!--
23
24
**Hugo Tip:** Start Hugo with `hugo server -navigateToChanged` for content edit-sessions.
24
25
-->
25
-
26
26
{{< note >}}
27
27
**Hugo 提示:** 用 `hugo server --navigateToChanged` 命令启动 Hugo 以进行内容编辑会话。
28
28
{{< /note >}}
@@ -36,7 +36,6 @@ The documentation side menu, the documentation page browser etc. are listed usin
36
36
37
37
Given that, if you want to move a page or a section up, set a weight in the page's front matter:
38
38
-->
39
-
40
39
## 页面列表
41
40
42
41
### 页面顺序
@@ -55,7 +54,7 @@ weight: 10
55
54
For page weights, it can be smart not to use 1, 2, 3 ..., but some other interval, say 10, 20, 30... This allows you to insert pages where you want later.
@@ -66,7 +65,7 @@ The `Documentation` main menu is built from the sections below `docs/` with the
66
65
-->
67
66
### 文档主菜单
68
67
69
-
`文档`主菜单是从 `docs/` 下面的章节构建的。
68
+
`文档`主菜单是从 `docs/` 下面的章节构建的。
70
69
这些章节在其章节内容文件 `_index.md` 的头部设置了 `main_menu` 标志:
71
70
72
71
```yaml
@@ -87,10 +86,9 @@ linkTitle: Title used in links
87
86
<!--
88
87
The above needs to be done per language. If you don't see your section in the menu, it is probably because it is not identified as a section by Hugo. Create a `_index.md` content file in the section folder.
89
88
-->
90
-
91
89
{{< note >}}
92
-
以上操作需要为每种语言分别完成。如果在菜单中没有看到你的章节,这可能是因为它没有被 Hugo 识别为一个章节。
93
-
请在章节对应的目录下创建 `_index.md` 内容文件。
90
+
你需要分别针对每种语言完成上述操作。如果在菜单中没有看到你的章节,这可能是因为它没有被 Hugo 识别为一个章节。
91
+
请在该章节对应的目录下创建 `_index.md` 内容文件。
94
92
{{< /note >}}
95
93
96
94
<!--
@@ -106,7 +104,7 @@ When you navigate to a section that has content, the specific section or page (e
106
104
-->
107
105
### 文档侧方菜单
108
106
109
-
文档侧方菜单是基于 `docs/` 下面的 _当前章节的内容树_ 构建的。
107
+
文档侧方菜单是基于 `docs/` 下面的 **当前章节的内容树** 构建的。
110
108
111
109
菜单默认显示所有的章节和它们的页面。
112
110
@@ -144,7 +142,7 @@ The site links in the top-right menu -- and also in the footer -- are built by p
The `SASS` source of the stylesheets for this site is stored below `src/sass` and can be built with `make sass` (note that Hugo will get `SASS` support soon, see https://github.com/gohugoio/hugo/issues/4243).
208
+
The [SASS](https://sass-lang.com/) source of the stylesheets for this site is stored in `assets/sass` and is automatically built by Hugo.
0 commit comments