1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-21 09:51:02 +00:00

Proper handling of 404 page return value

This commit is contained in:
spf13 2013-10-07 09:24:13 -04:00
parent 7468292c4e
commit 5e14af957a

View file

@ -539,8 +539,10 @@ func (s *Site) RenderHomePage() error {
return err
}
err = s.WritePublic("404.html", x)
if err != nil {
return err
}
}
return nil
}