about summary refs log tree commit diff stats
path: root/internal/builder
diff options
context:
space:
mode:
Diffstat (limited to 'internal/builder')
-rw-r--r--internal/builder/builder.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/builder/builder.go b/internal/builder/builder.go
index 08fa374..d855451 100644
--- a/internal/builder/builder.go
+++ b/internal/builder/builder.go
@@ -235,11 +235,6 @@ func build(outDir string, config config.Config) (*Result, error) {
 	h, _ = getHTMLStyleHash(publicDir, "index.html")
 	r.Hashes = append(r.Hashes, h)
 
-	log.Debug("rendering 404 page")
-	if err := renderToFile(templates.NotFound(config, "/404.html"), privateDir, "404.html"); err != nil {
-		return nil, err
-	}
-
 	log.Debug("rendering sitemap")
 	if err := writerToFile(sitemap, publicDir, "sitemap.xml"); err != nil {
 		return nil, err