hugo/hugolib
bep be38acdce7 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
2015-05-31 20:30:53 +02:00
..
author.go
benchmark_test.go
datafiles_test.go
handler_base.go
handler_file.go Adding default handler & tests Fixes #147 2015-05-20 18:55:24 -04:00
handler_meta.go Adding default handler & tests Fixes #147 2015-05-20 18:55:24 -04:00
handler_page.go
handler_test.go Adding default handler & tests Fixes #147 2015-05-20 18:55:24 -04:00
hugo.go
media.go
menu.go
menu_test.go Support Fish and Chips section 2015-05-28 23:05:17 +02:00
node.go Add IsHome 2015-05-28 03:20:08 +02:00
page.go Add PreserveTaxonomyNames flag 2015-05-31 20:30:53 +02:00
page_permalink_test.go Support Fish and Chips section 2015-05-28 23:05:17 +02:00
page_taxonomy_test.go
page_test.go Fix FullFilePath 2015-05-31 18:54:20 +02:00
page_time_integration_test.go
pageGroup.go
pageGroup_test.go
pageSort.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go
pagination_test.go Stop Viper from leaking across many of the tests (now tests pass regardless of order tested) 2015-05-20 02:21:21 -04:00
path_separators_test.go
path_separators_windows_test.go
permalinks.go Fix UTF8 permalink 2015-05-17 14:54:59 +02:00
permalinks_test.go
planner.go
redis.cn.md
rss_test.go Stop Viper from leaking across many of the tests (now tests pass regardless of order tested) 2015-05-20 02:21:21 -04:00
scratch.go
scratch_test.go
shortcode.go
shortcode_test.go Merge branch 'master' of GitHub.com:spf13/hugo 2015-05-20 18:48:33 -04:00
shortcodeparser.go
shortcodeparser_test.go
site.go Add PreserveTaxonomyNames flag 2015-05-31 20:30:53 +02:00
site_show_plan_test.go Stop Viper from leaking across many of the tests (now tests pass regardless of order tested) 2015-05-20 02:21:21 -04:00
site_test.go Support Fish and Chips section 2015-05-28 23:05:17 +02:00
site_url_test.go Stop Viper from leaking across many of the tests (now tests pass regardless of order tested) 2015-05-20 02:21:21 -04:00
siteinfo_test.go Stop Viper from leaking across many of the tests (now tests pass regardless of order tested) 2015-05-20 02:21:21 -04:00
siteJSONEncode_test.go Prevent cyclic ref crash in JSON encode 2015-05-23 12:28:08 +02:00
sitemap.go
sitemap_test.go Stop Viper from leaking across many of the tests (now tests pass regardless of order tested) 2015-05-20 02:21:21 -04:00
summary.go
taxonomy.go Add PreserveTaxonomyNames flag 2015-05-31 20:30:53 +02:00
taxonomy_test.go