summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_sites_build.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-11-11 09:01:47 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-11-22 09:57:03 +0100
commit063b78d2ece39b82d0eb32ac5559097c2780cef8 (patch)
treec51091974d7c2304c154c902281a6ef2ebddab0b /hugolib/hugo_sites_build.go
parent88972b0d5b62861128f101256027a52ab48eae86 (diff)
node to page: Make Nodes into Pages
* `.Site.Pages` now contains all page types, including sections etc. * `.Data.Pages` will also contain "node type" pages where relevant. Updates #2297
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r--hugolib/hugo_sites_build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go
index f5b6e6809..32185dd4f 100644
--- a/hugolib/hugo_sites_build.go
+++ b/hugolib/hugo_sites_build.go
@@ -156,7 +156,7 @@ func (h *HugoSites) assemble(config *BuildCfg) error {
}
}
- if err := h.createMissingNodes(); err != nil {
+ if err := h.createMissingPages(); err != nil {
return err
}