mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -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 {
|
func (s *Site) NewNode() (y Node) {
|
||||||
var y Node
|
|
||||||
y.Data = make(map[string]interface{})
|
y.Data = make(map[string]interface{})
|
||||||
y.Site = s.Info
|
y.Site = s.Info
|
||||||
|
|
||||||
return y
|
return y
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue