mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Small code cleanup
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user