mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
Proper handling of 404 page return value
This commit is contained in:
@@ -539,8 +539,10 @@ func (s *Site) RenderHomePage() error {
|
||||
return err
|
||||
}
|
||||
err = s.WritePublic("404.html", x)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user