diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-01-27 18:03:06 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-01-27 19:13:34 +0100 |
commit | 4eb2fec67c3a72a3ac98aa834dc56fd4504626d8 (patch) | |
tree | 80cfebc9fdc0e488b72e6ae2f3a6958953d0c2a1 /create | |
parent | 83c761b71a980aee6331179b271c7e24e999e8eb (diff) | |
download | hugo-4eb2fec67c3a72a3ac98aa834dc56fd4504626d8.tar.gz hugo-4eb2fec67c3a72a3ac98aa834dc56fd4504626d8.zip |
Fix handling of top-level page bundles
Fixes #4332
Diffstat (limited to 'create')
-rw-r--r-- | create/content_template_handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/create/content_template_handler.go b/create/content_template_handler.go index 0a444abf6..3b1f850c5 100644 --- a/create/content_template_handler.go +++ b/create/content_template_handler.go @@ -82,7 +82,7 @@ func executeArcheTypeAsTemplate(s *hugolib.Site, kind, targetPath, archetypeFile ) sp := source.NewSourceSpec(s.Deps.Cfg, s.Deps.Fs) - f := sp.NewFileInfo("", targetPath, nil) + f := sp.NewFileInfo("", targetPath, false, nil) data := ArchetypeFileData{ Type: kind, |