commands: Remove unused code
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 14 Mar 2016 14:24:42 +0000 (15:24 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 14 Mar 2016 14:24:42 +0000 (15:24 +0100)
commands/new.go
commands/version.go

index 2a1905ca8b6c4717efff4346fba714f54446d572..170952a05ca258d1f190628338738c81ce9622bb 100644 (file)
@@ -31,12 +31,9 @@ import (
 )
 
 var (
-       configFormat       string
-       contentEditor      string
-       contentFormat      string
-       contentFrontMatter string
-       contentType        string
-       siteType           string
+       configFormat  string
+       contentEditor string
+       contentType   string
 )
 
 func init() {
index 8b204328ec49eebba2190d818ddac46273a38582..932005939f3e3ffb4de7e759a9b4c2fb823e1807 100644 (file)
@@ -26,8 +26,6 @@ import (
        "github.com/spf13/hugo/hugolib"
 )
 
-var timeLayout string // the layout for time.Time
-
 var versionCmd = &cobra.Command{
        Use:   "version",
        Short: "Print the version number of Hugo",