mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-01 19:22:38 +00:00
Fix typos
This commit is contained in:
@@ -16,7 +16,7 @@ relatedfuncs: []
|
||||
{{ title "table of contents (TOC)" }} → "Table of Contents (TOC)"
|
||||
```
|
||||
|
||||
By default, Hugo adheres to the capitalization rules in the [Associated Press (AP) Stylebook]. Change your [site configuration] if you would prefer to follow the [Chicago Manual of Style], or to use Go's convention of captilalizing every word.
|
||||
By default, Hugo adheres to the capitalization rules in the [Associated Press (AP) Stylebook]. Change your [site configuration] if you would prefer to follow the [Chicago Manual of Style], or to use Go's convention of capitalizing every word.
|
||||
|
||||
[Associated Press (AP) Stylebook]: https://www.apstylebook.com/
|
||||
[Chicago Manual of Style]: https://www.chicagomanualofstyle.org/home.html
|
||||
|
||||
@@ -577,7 +577,7 @@ status = 404
|
||||
|
||||
Set `titleCaseStyle` to specify the title style used by the [title](/functions/title/) template function and the automatic section titles in Hugo.
|
||||
|
||||
By default, Hugo adheres to the capitalization rules in the [Associated Press (AP) Stylebook]. Set `titleCaseStyle` to `chicago` if you would prefer to follow the [Chicago Manual of Style], or set if to `go` to use Go's convention of captilalizing every word.
|
||||
By default, Hugo adheres to the capitalization rules in the [Associated Press (AP) Stylebook]. Set `titleCaseStyle` to `chicago` if you would prefer to follow the [Chicago Manual of Style], or set if to `go` to use Go's convention of capitalizing every word.
|
||||
|
||||
[Associated Press (AP) Stylebook]: https://www.apstylebook.com/
|
||||
[Chicago Manual of Style]: https://www.chicagomanualofstyle.org/home.html
|
||||
|
||||
@@ -219,9 +219,9 @@ The `.Fragments` method returns a list of fragments for the current page.
|
||||
{{ end }}
|
||||
|
||||
{{ if gt (.Fragments.Identifiers.Count "my-identifier") 1 }}
|
||||
<p>Page contains duplicate "my-idenfifier" fragments</p>
|
||||
<p>Page contains duplicate "my-identifier" fragments</p>
|
||||
{{ end }}
|
||||
```
|
||||
```
|
||||
|
||||
.HeadingsMap
|
||||
: Holds a map of headings for the current page. Can be used to start the table of contents from a specific heading.
|
||||
|
||||
Reference in New Issue
Block a user