Use helpers.FilePathSeparator const - hugo - [fork] hugo port for 9front
 (HTM) git clone git@git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit beaf5db3ff7d70d5644f3d3aaab3d38284c5fede
 (DIR) parent 61a02c4df8aeff4d236e2e5f206aeef06b794982
 (HTM) Author: bep <bjorn.erik.pedersen@gmail.com>
       Date:   Sat, 28 Mar 2015 21:46:02 +0100
       
       Use helpers.FilePathSeparator const
       
       Diffstat:
         M commands/new.go                     |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/commands/new.go b/commands/new.go
       @@ -93,7 +93,7 @@ func NewContent(cmd *cobra.Command, args []string) {
                var kind string
        
                // assume the first directory is the section (kind)
       -        if strings.Contains(createpath[1:], string(filepath.Separator)) {
       +        if strings.Contains(createpath[1:], helpers.FilePathSeparator) {
                        kind = helpers.GuessSection(createpath)
                }