commit fd7b315572bbb4fddc7d6c3c9e3fe92c3ac15439
parent d6f694552512f67dc7bc55afd660de017641fb58
Author: digitalcraftsman <digitalcraftsman@users.noreply.github.com>
Date: Fri, 4 Sep 2015 13:43:09 +0200
Add a 404.html file if a new theme is created
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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")