hugo/hugolib
Bjørn Erik Pedersen 2d3189b227 hugolib: Fix handling of mixed-case taxonomy folders with content file
* We match by path vs taxonomy to determine if we have a content page for that taxonomy
* The taxonomy name is (if `preserveTaxonomyNames` is not set) normalized to `maxmustermann` while you have the disk folder called `MaxMustermann`.
* This isn't a new issue, but I suspect most people will just name the folder `authors/maxmustermann` and it will just work.
* The inconsistent behaviour you see here is that you will end up with two pages with the same target filename, so it is a little random who will win.

This fixes that by also normalizing the taxonomy path when doing the comparison.

Fixes #4238
2018-01-08 11:47:26 +01:00
..
testdata hugolib: Add test for image processing from shortcodes 2018-01-01 12:11:36 +01:00
404_test.go
alias.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
alias_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
author.go
case_insensitive_test.go
config.go Fix multihost detection for sites without language definition 2018-01-06 19:14:31 +01:00
config_test.go
datafiles_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
disableKinds_test.go
embedded_shortcodes_test.go
fileInfo.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
fileInfo_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
gitinfo.go
hugo_info.go
hugo_sites.go hugolib: Fix handling of mixed-case taxonomy folders with content file 2018-01-08 11:47:26 +01:00
hugo_sites_build.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
hugo_sites_build_test.go Fix URLs for bundle resources in multihost mode 2018-01-06 10:29:13 +01:00
hugo_sites_multihost_test.go Fix URLs for bundle resources in multihost mode 2018-01-06 10:29:13 +01:00
hugolib.debug Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
media.go
menu.go
menu_test.go
multilingual.go
node_as_page_test.go
page.go Fix sub-folder baseURL handling for Page resources 2018-01-06 10:29:13 +01:00
page_bundler.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
page_bundler_capture.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
page_bundler_capture_test.go hugolib: Add test for image processing from shortcodes 2018-01-01 12:11:36 +01:00
page_bundler_handlers.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
page_bundler_test.go hugolib: Add test for image processing from shortcodes 2018-01-01 12:11:36 +01:00
page_collections.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
page_collections_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
page_output.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
page_paths.go Fix sub-folder baseURL handling for Page resources 2018-01-06 10:29:13 +01:00
page_paths_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
page_permalink_test.go
page_resource.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
page_taxonomy_test.go hugolib: Do not tolower result from Page.GetParam 2017-12-29 08:58:38 +01:00
page_test.go hugolib: Add test for homepage content for all rendering engines 2017-12-29 10:16:50 +01:00
page_time_integration_test.go
pageCache.go
pageCache_test.go
pageGroup.go hugolib: Do not tolower result from Page.GetParam 2017-12-29 08:58:38 +01:00
pageGroup_test.go
pages_related.go
pages_related_test.go
pageSort.go
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
pagination_test.go
path_separators_test.go
permalinker.go
permalinks.go source: Make sure .File.Dir() ends with a slash 2017-12-28 11:32:02 +01:00
permalinks_test.go
prune_resources.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
robotstxt_test.go
rss_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
scratch.go
scratch_test.go
shortcode.go
shortcode_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
shortcodeparser.go
shortcodeparser_test.go
site.go hugolib: Do not tolower result from Page.GetParam 2017-12-29 08:58:38 +01:00
site_benchmark_test.go
site_output.go
site_output_test.go
site_render.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
site_sections.go
site_sections_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
site_stats_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
site_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
site_url_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
siteJSONEncode_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
sitemap.go
sitemap_test.go
taxonomy.go
taxonomy_test.go hugolib: Fix handling of mixed-case taxonomy folders with content file 2018-01-08 11:47:26 +01:00
template_engines_test.go
template_test.go
testhelpers_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
translations.go