Skip to content

Commit

Permalink
Add new min_version field to theme.toml template
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyfok committed Mar 10, 2015
1 parent 4784b63 commit 634548b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions commands/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,17 @@ func touchFile(x ...string) {

func createThemeMD(inpath string) (err error) {

by := []byte(`name = "` + strings.Title(helpers.MakeTitle(filepath.Base(inpath))) + `"
by := []byte(`# theme.toml template for a Hugo theme
# See https://github.com/spf13/hugoThemes#themetoml for an example
name = "` + strings.Title(helpers.MakeTitle(filepath.Base(inpath))) + `"
license = "MIT"
licenselink = "https://github.com/.../.../LICENSE.md"
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE.md"
description = ""
homepage = "http://siteforthistheme.com/"
tags = ["", ""]
features = ["", ""]
min_version = 0.13
[author]
name = ""
Expand Down

0 comments on commit 634548b

Please sign in to comment.