mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 06:30:33 +03:00
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:
parent
90afe41e49
commit
ac6b86aff8
7 changed files with 58 additions and 19 deletions
|
@ -29,6 +29,7 @@ type Node struct {
|
|||
Params map[string]interface{}
|
||||
Date time.Time
|
||||
Sitemap Sitemap
|
||||
Hugo *HugoInfo
|
||||
UrlPath
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue