Make the title case style guide configurable
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 30 Jul 2017 15:46:04 +0000 (17:46 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 31 Jul 2017 20:16:46 +0000 (22:16 +0200)
commit8fb594bfb090c017d4e5cbb2905780221e202c41
treef622b6aa90757827ea8f07cc27be692fb37b76c4
parent9b4170ce768717adfbe9d97c46e38ceaec2ce994
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
docs/content/getting-started/configuration.md
helpers/general.go
helpers/general_test.go
hugolib/config.go
hugolib/site.go
tpl/strings/init.go
tpl/strings/init_test.go
tpl/strings/strings.go
tpl/strings/strings_test.go
vendor/vendor.json