hugo/hugolib
David Karlsson 286821e360
Fix for data mounts in sub folders
Before this change, data files from Hugo modules were always mounted at the
root of the `data` directory. The File and FileMetaInfo structs for modules
are different from 'native' data directories.

This changes how the keyParts for data files are generated so that data
from modules or native directories are treated the same.
2023-07-15 11:13:08 +02:00
..
assets/images
filesystems Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
paths Fix static content files multilingual root regression 2023-07-08 16:08:46 +02:00
testdata
testsite
404_test.go
alias.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
alias_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
breaking_changes_test.go
cascade_test.go
codeowners.go
collections.go
collections_test.go
config.go
config_test.go Improve behavior of defaultContentLanguageInSubdir when only the default language is enabled 2023-07-13 18:06:36 +02:00
configdir_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
content_factory.go
content_factory_test.go
content_map.go Misc permalinks adjustments 2023-06-29 10:14:19 +02:00
content_map_page.go
content_map_test.go
content_render_hooks_test.go
datafiles_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
dates_test.go
disableKinds_test.go
embedded_shortcodes_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
embedded_templates_test.go
fileInfo.go
fileInfo_test.go
frontmatter_test.go
gitinfo.go
hugo_modules_test.go Fix for data mounts in sub folders 2023-07-15 11:13:08 +02:00
hugo_sites.go Fix for data mounts in sub folders 2023-07-15 11:13:08 +02:00
hugo_sites_build.go Rework the build.writeStats struct 2023-07-02 13:04:11 +02:00
hugo_sites_build_errors_test.go
hugo_sites_build_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
hugo_sites_multihost_test.go
hugo_sites_rebuild_test.go
hugo_smoke_test.go
image_test.go
integration_test.go
integrationtest_builder.go Make build.writeStats a struct 2023-07-01 15:38:32 +02:00
language_content_dir_test.go
language_test.go
menu_test.go Fix menuItem.URL when pageRef is not set 2023-06-02 09:04:00 +02:00
minify_publisher_test.go
mount_filters_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
page.go
page__common.go
page__content.go
page__data.go
page__fragments_test.go
page__menus.go
page__meta.go
page__new.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
page__output.go
page__paginator.go
page__paths.go Misc permalinks adjustments 2023-06-29 10:14:19 +02:00
page__per_output.go Return error when .Render is invoked without arg 2023-07-13 18:06:36 +02:00
page__position.go
page__ref.go
page__tree.go
page_kinds.go
page_permalink_test.go
page_test.go Return error when .Render is invoked without arg 2023-07-13 18:06:36 +02:00
page_unwrap.go
page_unwrap_test.go
pagebundler_test.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
pagecollections.go
pagecollections_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
pages_capture.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
pages_capture_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
pages_language_merge_test.go
pages_process.go
pages_test.go
paginator_test.go
permalinker.go
prune_resources.go
renderstring_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
resource_chain_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
robotstxt_test.go
rss_test.go
securitypolicies_test.go Upgrade to v2 of the Dart Sass Embedded Protocol 2023-06-12 13:47:38 +02:00
shortcode.go
shortcode_page.go
shortcode_test.go
site.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
site_benchmark_new_test.go
site_new.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
site_output.go
site_output_test.go Re-add site.RSSLink (and deprecate it) 2023-06-14 12:18:11 +02:00
site_render.go Improve behavior of defaultContentLanguageInSubdir when only the default language is enabled 2023-07-13 18:06:36 +02:00
site_sections.go
site_sections_test.go
site_stats_test.go
site_test.go Fix buildStats when tags and classes are disabled 2023-07-03 09:58:33 +02:00
site_url_test.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
siteJSONEncode_test.go
sitemap_test.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
taxonomy_test.go
template_test.go
testhelpers_test.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
translations.go