Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorbep <bjorn.erik.pedersen@gmail.com>2015-05-31 21:30:53 +0300
committerbep <bjorn.erik.pedersen@gmail.com>2015-05-31 21:30:53 +0300
commitbe38acdce7bd74b749929c4360c4099a80a774d7 (patch)
tree714829fa8a688d97768596ce0ecf691da9254037 /source
parent3ea4df35f2435f1cb371fa54f6fd89fd6d7d980f (diff)
Add PreserveTaxonomyNames flag
Before this commit, taxonomy names were hyphenated, lower-cased and normalized -- then fixed and titleized on the archive page. So what you entered in the front matter isn't necessarily what you got in the final site. To preserve backwards compability, `PreserveTaxonomyNames` is default `false`. Setting it to `true` will preserve what you type (the first characters is made toupper for titles), but normalized in URLs. This also means that, if you manually construct URLs to the archive pages, you will have to pass the Taxonomy names through the `urlize` func. Fixes #1180
Diffstat (limited to 'source')
0 files changed, 0 insertions, 0 deletions