summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_sites_build.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r--hugolib/hugo_sites_build.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go
index 3bebc5284..5eee564aa 100644
--- a/hugolib/hugo_sites_build.go
+++ b/hugolib/hugo_sites_build.go
@@ -438,7 +438,8 @@ func (h *HugoSites) postProcess() error {
return nil
}
- for _, filename := range h.Deps.FilenameHasPostProcessPrefix {
+ filenames := helpers.UniqueStrings(h.Deps.FilenameHasPostProcessPrefix)
+ for _, filename := range filenames {
filename := filename
g.Run(func() error {
return handleFile(filename)