From: Bjørn Erik Pedersen Date: Mon, 14 Mar 2016 14:24:42 +0000 (+0100) Subject: commands: Remove unused code X-Git-Tag: v0.16~240 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c21dc16dbe9d9cf44b341f1f995ed7776d6a1b62;p=brevno-suite%2Fhugo commands: Remove unused code --- diff --git a/commands/new.go b/commands/new.go index 2a1905ca..170952a0 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 8b204328..93200593 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",