mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-23 09:53:39 +00:00
parent
1f61f40328
commit
75cf324322
1 changed files with 2 additions and 0 deletions
|
@ -1711,6 +1711,8 @@ func (s *Site) newHomeNode() *Node {
|
||||||
n.IsHome = true
|
n.IsHome = true
|
||||||
s.setURLs(n, "/")
|
s.setURLs(n, "/")
|
||||||
n.Data["Pages"] = s.Pages
|
n.Data["Pages"] = s.Pages
|
||||||
|
n.Date = s.Pages[0].Date
|
||||||
|
n.Lastmod = s.Pages[0].Lastmod
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue