From bec2bd12c1117c5cf1b479dd18e191c667be30c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 30 Jul 2017 17:46:04 +0200 Subject: [PATCH] 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 --- content/getting-started/configuration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/getting-started/configuration.md b/content/getting-started/configuration.md index 5aa5160e0..55e2f1cdc 100644 --- a/content/getting-started/configuration.md +++ b/content/getting-started/configuration.md @@ -156,6 +156,10 @@ themesDir: "themes" theme: "" title: "" # if true, use /filename.html instead of /filename/ +# Title Case style guide for the title func and other automatic title casing in Hugo. +// Valid values are "AP" (default), "Chicago" and "Go" (which was what you had in Hugo <= 0.25.1). +// See https://www.apstylebook.com/ and http://www.chicagomanualofstyle.org/home.html +titleCaseStyle: "AP" uglyURLs: false # verbose output verbose: false