node to page: Do not create section node for root
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 9 Nov 2016 10:09:16 +0000 (11:09 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 22 Nov 2016 08:57:03 +0000 (09:57 +0100)
commit7cc637e97a596336d1c64c203cb089e9de84ec45
tree20cd800f494c07722496c9805d74d3113ba42979
parent503fb29953d4cd57ec3a188f529c11d41798d772
node to page: Do not create section node for root

Because that will overwrite the home page, which is bad.

Updates #2297
hugolib/hugo_sites.go
hugolib/hugo_sites_test.go