ref: ed4a345efeaa19eef2c1c6360d22f75c24abc31a
parent: 9717ac7dce84d004afde4edb32ad81319c7dd8a7
author: Anthony Fok <[email protected]>
date: Sun Jun 10 21:54:49 EDT 2018
commands: Create LICENSE rather than LICENSE.md in "new theme" See also #4623
--- a/commands/new_theme.go
+++ b/commands/new_theme.go
@@ -133,7 +133,7 @@
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
`)
- err = helpers.WriteToDisk(filepath.Join(createpath, "LICENSE.md"), bytes.NewReader(by), cfg.Fs.Source)
+ err = helpers.WriteToDisk(filepath.Join(createpath, "LICENSE"), bytes.NewReader(by), cfg.Fs.Source)
if err != nil {
return err
}
@@ -150,7 +150,7 @@
name = "` + strings.Title(helpers.MakeTitle(filepath.Base(inpath))) + `"
license = "MIT"
-licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE.md"
+licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
description = ""
homepage = "http://example.com/"
tags = []