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

This commit is contained in:
digitalcraftsman 2015-09-04 13:43:09 +02:00 committed by spf13
parent d6f6945525
commit fd7b315572

View file

@ -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")