commands: Fix case in default config variable
authorbogem <albertnigma@gmail.com>
Wed, 23 Nov 2016 15:13:50 +0000 (16:13 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 2 Jan 2017 16:01:12 +0000 (17:01 +0100)
commands/new.go

index 83ddcf5279528b4749a2e837d3ae8c9e0e8a5fc0..05b5ff4dd26848e2378fa80dfdad24dfedf3fc9e 100644 (file)
@@ -332,7 +332,7 @@ func newContentPathSection(path string) (string, string) {
 
 func createConfig(inpath string, kind string) (err error) {
        in := map[string]interface{}{
-               "baseurl":      "http://example.org/",
+               "baseURL":      "http://example.org/",
                "title":        "My New Hugo Site",
                "languageCode": "en-us",
        }