Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}