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/style-guide.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -974,12 +974,8 @@ Do | Don't
974
974
Update the title in the front matter of the page or blog post. | Use first level heading, as Hugo automatically converts the title in the front matter of the page into a first-level heading.
975
975
Use ordered headings to provide a meaningful high-level outline of your content. | Use headings level 4 through 6, unless it is absolutely necessary. If your content is that detailed, it may need to be broken into separate articles.
976
976
Use pound or hash signs (`#`) for non-blog post content. | Use underlines (`---` or `===`) to designate first-level headings.
977
-
Use sentence case for headings in the page body. For example,
978
-
**Extend kubectl with plugins** | Use title case for headings in the page body. For example, **Extend Kubectl With Plugins**
979
-
Use title case for the page title in the front matter. For example,
980
-
`title: Kubernetes API Server Bypass Risks` | Use sentence case for page titles
981
-
in the front matter. For example, don't use
982
-
`title: Kubernetes API server bypass risks`
977
+
Use sentence case for headings in the page body. For example, **Extend kubectl with plugins** | Use title case for headings in the page body. For example, **Extend Kubectl With Plugins**
978
+
Use title case for the page title in the front matter. For example, `title: Kubernetes API Server Bypass Risks` | Use sentence case for page titles in the front matter. For example, don't use `title: Kubernetes API server bypass risks`
983
979
{{< /table >}}
984
980
-->
985
981
{{< table caption = "标题约定" >}}
@@ -1342,9 +1338,11 @@ These steps ... | These simple steps ...
1342
1338
<!--
1343
1339
* Learn about [writing a new topic](/docs/contribute/style/write-new-topic/).
1344
1340
* Learn about [using page templates](/docs/contribute/style/page-content-types/).
1341
+
* Learn about [custom hugo shortcodes](/docs/contribute/style/hugo-shortcodes/).
1345
1342
* Learn about [creating a pull request](/docs/contribute/new-content/open-a-pr/).
0 commit comments