Added top level .Hugo variable with version, commit and generator information + docs

Added Version, CommitHash and BuildDate to hugolib/hugo.go and used it in build
Removed commitHash and buildDate from commands/version.go and used hugolib vars
Removed getDateFormat function from commands/version.go

Conflicts:
	README.md
	docs/content/templates/variables.md
This commit is contained in:
Derek Perkins 2014-12-09 08:36:07 -07:00 committed by bep
parent 90afe41e49
commit ac6b86aff8
7 changed files with 58 additions and 19 deletions

View file

@ -29,6 +29,7 @@ type Node struct {
Params map[string]interface{}
Date time.Time
Sitemap Sitemap
Hugo *HugoInfo
UrlPath
}