diff --git a/docs/content/overview/configuration.md b/docs/content/overview/configuration.md index a8100634d..afdcc4a37 100644 --- a/docs/content/overview/configuration.md +++ b/docs/content/overview/configuration.md @@ -32,7 +32,8 @@ The following is an example of a typical yaml config file: baseurl: "http://yoursite.example.com/" ... -The following is an example of a toml config file with some of the default values. Values under `[params]` will populate the `.Site.Params` variable for use in templates: +The following is an example of a toml config file with some of the default values. +Values under `[params]` will populate the `.Site.Params` variable for use in templates: contentdir = "content" layoutdir = "layouts" @@ -49,7 +50,7 @@ The following is an example of a toml config file with some of the default value description = "Tesla's Awesome Hugo Site" author = "Nikola Tesla" -Here is a yaml configuration file which sets a few more options +Here is a yaml configuration file which sets a few more options: --- baseurl: "http://yoursite.example.com/" @@ -172,7 +173,8 @@ But Hugo does expose some options---as listed in the table below, matched with t
angledQuotes
, fractions
and latexDashes
flags below."Hugo"
renders to «Hugo» instead of “Hugo”)"Hugo"
renders to «Hugo» instead of “Hugo”.5/12
renders to 5⁄12 (<sup>5</sup>⁄<sub>12</sub>
))5/12
renders to 5⁄12 (<sup>5</sup>⁄<sub>12</sub>
)fractions = false
,
Blackfriday would still convert 1/2, 1/4 and 3/4 to ½ (½
),
¼ (¼
) and ¾ (¾
) respectively,
@@ -207,10 +210,12 @@ but only these three.true
, --
is translated into “–” (–
), and ---
is translated into “—” (—
).false
, --
is translated into “—” (—
), whereas a spaced single hyphen between two words is turned into an en dash, e.g. 12 June - 3 July
becomes 12 June – 3 July
.hrefTargetBlank
true
, then header and footnote IDs are generated without the document ID (e.g. #my-header
instead of #my-header:bec3ed8ba720b9073ab75abcf3ba5d97
)true
, then header and footnote IDs are generated without the document ID.#my-header
instead of #my-header:bec3ed8ba720b9073ab75abcf3ba5d97
.extensions
"hardLineBreak"
to use EXTENSION_HARD_LINE_BREAK
)"hardLineBreak"
to use EXTENSION_HARD_LINE_BREAK
."autoHeaderIds"
to disable EXTENSION_AUTO_HEADER_IDS
)"autoHeaderIds"
to disable EXTENSION_AUTO_HEADER_IDS
.