mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Fix the Hugo.Generator tag so it can be used
This commit is contained in:
parent
56eead2ade
commit
9712d06b36
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
package hugolib
|
||||
|
||||
import (
|
||||
"html/template"
|
||||
)
|
||||
|
||||
const Version = "0.13-DEV"
|
||||
|
||||
var (
|
||||
|
@ -12,7 +16,7 @@ var hugoInfo *HugoInfo
|
|||
// HugoInfo contains information about the current Hugo environment
|
||||
type HugoInfo struct {
|
||||
Version string
|
||||
Generator string
|
||||
Generator template.HTML
|
||||
CommitHash string
|
||||
BuildDate string
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue