diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-07-05 19:32:57 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-07-05 20:35:20 +0200 |
commit | 12d3469dd1f5b5a2a459ccc33df6eb1b8eab6765 (patch) | |
tree | 3c16bf10e2b8c2966c07ab2a441d10a4c0c15f6a /docs | |
parent | bf7ee8a91acf17613ffcd9c2f8c13abfa1ed0a11 (diff) |
Add titleCaseStyle none and firstupper
Fixes #11204
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/en/getting-started/configuration.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/content/en/getting-started/configuration.md b/docs/content/en/getting-started/configuration.md index 05465967a..477edc1c4 100644 --- a/docs/content/en/getting-started/configuration.md +++ b/docs/content/en/getting-started/configuration.md @@ -623,7 +623,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. -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/ [Chicago Manual of Style]: https://www.chicagomanualofstyle.org/home.html |