summaryrefslogtreecommitdiffstats
path: root/hugolib/content_factory.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-04-08 15:15:26 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-04-10 13:49:31 +0200
commit30c2e54c25f6c3a942080f30be49712adda27586 (patch)
tree6805e432456f92623db0b1c862879cee54693481 /hugolib/content_factory.go
parent3117e5859509e909298153972ab6f700af577f92 (diff)
Replace all usage of CopyOnWriteFs with OverlayFs
Fixes #9761
Diffstat (limited to 'hugolib/content_factory.go')
-rw-r--r--hugolib/content_factory.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/content_factory.go b/hugolib/content_factory.go
index bf16a9821..bea98894d 100644
--- a/hugolib/content_factory.go
+++ b/hugolib/content_factory.go
@@ -112,6 +112,7 @@ func (f ContentFactory) SectionFromFilename(filename string) (string, error) {
func (f ContentFactory) CreateContentPlaceHolder(filename string) (string, error) {
filename = filepath.Clean(filename)
_, abs, err := f.h.AbsProjectContentDir(filename)
+
if err != nil {
return "", err
}