hugo/commands
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
..
benchmark.go Add memprofile to pprof benchmark 2015-02-05 15:48:09 +01:00
check.go Hugo config abstracted into a general purpose config library called "Viper". 2014-04-05 01:40:33 -04:00
convert.go Fix some Go Lint errors 2015-03-06 15:58:14 +01:00
genautocomplete.go Remove trailing spaces in completionfile flag 2015-05-16 19:52:09 +02:00
gendoc.go Add gendoc command 2015-05-19 10:57:21 -04:00
hugo.go Add PreserveTaxonomyNames flag 2015-05-31 20:30:53 +02:00
limit_darwin.go Adding support for logging & verbose logging. Consolidation of error handling. Integration of jWalterWeatherman library. Fixed #137 2014-03-31 13:23:34 -04:00
limit_others.go Fix build 2014-02-18 18:40:55 -05:00
list.go Added a new command hugo list drafts and hugo list future 2014-11-19 16:24:30 -05:00
list_config.go Quote strings in hugo config output 2015-02-17 11:51:43 +01:00
new.go Allow forward slashes in Hugo new on Windows 2015-05-12 18:12:58 +02:00
new_test.go Allow forward slashes in Hugo new on Windows 2015-05-12 18:12:58 +02:00
server.go Make sure that complete server URL is logged on startup 2015-05-09 08:03:06 +02:00
server_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
undraft.go add undraft command 2015-05-08 22:18:51 -04:00
undraft_test.go add undraft command 2015-05-08 22:18:51 -04:00
version.go Refactor Hugo version 2015-03-18 12:23:13 +01:00