diff options
Diffstat (limited to 'hugolib/content_factory.go')
-rw-r--r-- | hugolib/content_factory.go | 1 |
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 } |