Skip to content

Commit

Permalink
Create missing head.html partial on new theme generation
Browse files Browse the repository at this point in the history
  • Loading branch information
openscript authored and anthonyfok committed Jun 25, 2018
1 parent b5a3aa7 commit fd71fa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/new_theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func (n *newThemeCmd) newTheme(cmd *cobra.Command, args []string) error {
return err
}

touchFile(cfg.Fs.Source, createpath, "layouts", "partials", "head.html")
touchFile(cfg.Fs.Source, createpath, "layouts", "partials", "header.html")
touchFile(cfg.Fs.Source, createpath, "layouts", "partials", "footer.html")

Expand Down

0 comments on commit fd71fa8

Please sign in to comment.