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 author: fix doc 2015-03-07 00:10:00 +01:00
benchmark_test.go
datafiles_test.go Do not fail on unknown files in /data 2015-04-22 18:35:56 +02:00
handler_base.go hugolib: apply some Hugolint rules 2015-03-07 00:13:06 +01:00
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 Very experimental support for mmark 2015-05-08 22:05:41 -04:00
handler_test.go Adding default handler & tests Fixes #147 2015-05-20 18:55:24 -04:00
hugo.go Refactor Hugo version 2015-03-18 12:23:13 +01:00
media.go hugolib: apply some more Golint rules 2015-03-07 12:53:20 +01:00
menu.go More initialism corrections (golint) 2015-03-18 11:30:37 +01:00
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 hugolib: make Page implement the ReaderFrom interface 2015-04-03 21:41:24 +02:00
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 hugolib: apply some more Golint rules 2015-03-07 12:53:20 +01:00
pagesPrevNext.go Correct initialisms as suggested by golint 2015-03-11 21:55:00 +01:00
pagesPrevNext_test.go
pagination.go Fix paginator with uglyurls 2015-05-10 15:23:36 +02:00
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 Update test logs for uniformity and consistency 2015-05-08 22:27:00 -04:00
path_separators_windows_test.go Update test logs for uniformity and consistency 2015-05-08 22:27:00 -04:00
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 Fix broken Travis tests 2015-04-22 18:59:42 +02:00
shortcode.go shortcodeparser: fix panic on slash following opening shortcode comment 2015-04-30 15:59:07 +02:00
shortcode_test.go Merge branch 'master' of GitHub.com:spf13/hugo 2015-05-20 18:48:33 -04:00
shortcodeparser.go shortcodeparser: fix panic on slash following opening shortcode comment 2015-04-30 15:59:07 +02:00
shortcodeparser_test.go Apply gofmt -s 2015-03-05 23:57:38 +01:00
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