mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Add a 404.html file if a new theme is created
This commit is contained in:
parent
d6f6945525
commit
fd7b315572
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue