commands: Remove unused code - 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 c21dc16dbe9d9cf44b341f1f995ed7776d6a1b62
(DIR) parent 91ffc76b24081da0b4b45023261fcedf7e088b15
(HTM) Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Mon, 14 Mar 2016 15:24:42 +0100
commands: Remove unused code
Diffstat:
M commands/new.go | 9 +++------
M commands/version.go | 2 --
2 files changed, 3 insertions(+), 8 deletions(-)
---
(DIR) diff --git 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() {
(DIR) diff --git 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",