From fd7b315572bbb4fddc7d6c3c9e3fe92c3ac15439 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Fri, 4 Sep 2015 13:43:09 +0200 Subject: [PATCH] Add a 404.html file if a new theme is created --- commands/new.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/new.go b/commands/new.go index f22a36f56..9d1691592 100644 --- a/commands/new.go +++ b/commands/new.go @@ -155,6 +155,7 @@ func NewTheme(cmd *cobra.Command, args []string) { 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")