mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-10 11:14:54 -04:00
Merge branch 'tempv0.115.2'
This commit is contained in:
commit
153a36bdfd
@ -643,7 +643,13 @@ status = 404
|
|||||||
|
|
||||||
Set `titleCaseStyle` to specify the title style used by the [title](/functions/title/) template function and the automatic section titles in Hugo.
|
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 capitalizing every word.
|
Can be one of:
|
||||||
|
|
||||||
|
* `ap` (default), the capitalization rules in the [Associated Press (AP) Stylebook]
|
||||||
|
* `chicago`, the [Chicago Manual of Style]
|
||||||
|
* `go`, Go's convention of capitalizing every word.
|
||||||
|
* `firstupper`, capitalize the first letter of the first word.
|
||||||
|
* `none`, no capitalization.
|
||||||
|
|
||||||
[Associated Press (AP) Stylebook]: https://www.apstylebook.com/
|
[Associated Press (AP) Stylebook]: https://www.apstylebook.com/
|
||||||
[Chicago Manual of Style]: https://www.chicagomanualofstyle.org/home.html
|
[Chicago Manual of Style]: https://www.chicagomanualofstyle.org/home.html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user