mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 21:22:12 -05:00
Small code cleanup
This commit is contained in:
parent
0fdea0c2c2
commit
4349216deb
1 changed files with 1 additions and 3 deletions
|
@ -646,11 +646,9 @@ func (s *Site) Stats() {
|
|||
}
|
||||
}
|
||||
|
||||
func (s *Site) NewNode() Node {
|
||||
var y Node
|
||||
func (s *Site) NewNode() (y Node) {
|
||||
y.Data = make(map[string]interface{})
|
||||
y.Site = s.Info
|
||||
|
||||
return y
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue