URI: 
       commands: Fix case of createpath in new.go - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 9f0b02b898853280254fbe859eecfabd63c4fefb
   DIR parent a159feffb22f46edbad14495c9d0b0495cd21d39
  HTML Author: Albert Nigmatzianov <albertnigma@gmail.com>
       Date:   Fri, 24 Mar 2017 12:14:14 +0500
       
       commands: Fix case of createpath in new.go
       
       Diffstat:
         M commands/new.go                     |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/commands/new.go b/commands/new.go
       @@ -107,11 +107,11 @@ func NewContent(cmd *cobra.Command, args []string) error {
                        return newUserError("path needs to be provided")
                }
        
       -        createpath := args[0]
       +        createPath := args[0]
        
                var kind string
        
       -        createpath, kind = newContentPathSection(createpath)
       +        createPath, kind = newContentPathSection(createPath)
        
                if contentType != "" {
                        kind = contentType
       @@ -123,7 +123,7 @@ func NewContent(cmd *cobra.Command, args []string) error {
                        return newSystemError(err)
                }
        
       -        return create.NewContent(s, kind, createpath)
       +        return create.NewContent(s, kind, createPath)
        }
        
        func doNewSite(fs *hugofs.Fs, basepath string, force bool) error {