shithub: hugo

Download patch

ref: fd7b315572bbb4fddc7d6c3c9e3fe92c3ac15439
parent: d6f694552512f67dc7bc55afd660de017641fb58
author: digitalcraftsman <[email protected]>
date: Fri Sep 4 09:43:09 EDT 2015

Add a 404.html file if a new theme is created

--- a/commands/new.go
+++ b/commands/new.go
@@ -155,6 +155,7 @@
 	mkdir(createpath, "layouts", "partials")
 
 	touchFile(createpath, "layouts", "index.html")
+	touchFile(createpath, "layouts", "404.html")
 	touchFile(createpath, "layouts", "_default", "list.html")
 	touchFile(createpath, "layouts", "_default", "single.html")