mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-18 23:41:15 +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
|
||||
s.setURLs(n, "/")
|
||||
n.Data["Pages"] = s.Pages
|
||||
n.Date = s.Pages[0].Date
|
||||
n.Lastmod = s.Pages[0].Lastmod
|
||||
return n
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue