mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
30d65fd48d
commit
dc3618abcd
1 changed files with 1 additions and 0 deletions
|
@ -1948,6 +1948,7 @@ func (s *Site) renderHomePage(prepare bool) error {
|
||||||
|
|
||||||
node404 := s.newNode("404")
|
node404 := s.newNode("404")
|
||||||
node404.Title = "404 Page not found"
|
node404.Title = "404 Page not found"
|
||||||
|
node404.Data["Pages"] = s.Pages
|
||||||
s.setURLs(node404, "404.html")
|
s.setURLs(node404, "404.html")
|
||||||
|
|
||||||
nfLayouts := []string{"404.html"}
|
nfLayouts := []string{"404.html"}
|
||||||
|
|
Loading…
Reference in a new issue