mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
1 parent
30d65fd48d
commit
dc3618abcd
1 file changed
+1
@@ -1948,6 +1948,7 @@ func (s *Site) renderHomePage(prepare bool) error {
|
||||
|
||||
node404 := s.newNode("404")
|
||||
node404.Title = "404 Page not found"
|
||||
node404.Data["Pages"] = s.Pages
|
||||
s.setURLs(node404, "404.html")
|
||||
|
||||
nfLayouts := []string{"404.html"}
|
||||
|
||||
Reference in new issue
Block a user