Use configured languages in generation validation

This commit is contained in:
hugo committed 2026-07-22 18:02:04 +02:00
1 parent 64e3847ef2
commit ba6a297d9b
8 files changed
+97 -22

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ fn build_site_render_artifacts_with_mode(
.par_iter()
.filter(|route| {
section.is_none_or(|section| {
classify_generated_path(&route.relative_path) == Some(section)
classify_generated_path(&route.relative_path, metadata) == Some(section)
}) && requested_paths
.is_none_or(|requested| requested.contains(&route.relative_path))
})