summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-03-14 15:24:42 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-03-14 15:24:42 +0100
commitc21dc16dbe9d9cf44b341f1f995ed7776d6a1b62 (patch)
tree7be0170b0b79e5c52579136f7159d8ea88d0bb43 /commands
parent91ffc76b24081da0b4b45023261fcedf7e088b15 (diff)
commands: Remove unused code
Diffstat (limited to 'commands')
-rw-r--r--commands/new.go9
-rw-r--r--commands/version.go2
2 files changed, 3 insertions, 8 deletions
diff --git a/commands/new.go b/commands/new.go
index 2a1905ca8..170952a05 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -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() {
diff --git a/commands/version.go b/commands/version.go
index 8b204328e..932005939 100644
--- a/commands/version.go
+++ b/commands/version.go
@@ -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",