summaryrefslogtreecommitdiffstats
path: root/commands/new.go
diff options
context:
space:
mode:
authordigitalcraftsman <digitalcraftsman@users.noreply.github.com>2015-09-04 13:43:09 +0200
committerspf13 <steve.francia@gmail.com>2015-09-08 11:29:04 -0400
commitfd7b315572bbb4fddc7d6c3c9e3fe92c3ac15439 (patch)
tree443a4caf4a283359f2e8abddfbdc1237582b4784 /commands/new.go
parentd6f694552512f67dc7bc55afd660de017641fb58 (diff)
Add a 404.html file if a new theme is created
Diffstat (limited to 'commands/new.go')
-rw-r--r--commands/new.go1
1 files changed, 1 insertions, 0 deletions
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")