mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Make the title case style guide configurable
This works for the `title` func and the other places where Hugo makes title case. * AP style (new default) * Chicago style * Go style (what we have today) Fixes #989
This commit is contained in:
@@ -116,6 +116,7 @@ func init() {
|
||||
[]string{"title"},
|
||||
[][2]string{
|
||||
{`{{title "Bat man"}}`, `Bat Man`},
|
||||
{`{{title "somewhere over the rainbow"}}`, `Somewhere Over the Rainbow`},
|
||||
},
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user