mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 12:14:49 +00:00
Small code cleanup
This commit is contained in:
1 parent
0fdea0c2c2
commit
4349216deb
1 file changed
+1
-3
+1
-3
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user