mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 21:22:12 -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
|
package hugolib
|
||||||
|
|
||||||
|
import (
|
||||||
|
"html/template"
|
||||||
|
)
|
||||||
|
|
||||||
const Version = "0.13-DEV"
|
const Version = "0.13-DEV"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -12,7 +16,7 @@ var hugoInfo *HugoInfo
|
||||||
// HugoInfo contains information about the current Hugo environment
|
// HugoInfo contains information about the current Hugo environment
|
||||||
type HugoInfo struct {
|
type HugoInfo struct {
|
||||||
Version string
|
Version string
|
||||||
Generator string
|
Generator template.HTML
|
||||||
CommitHash string
|
CommitHash string
|
||||||
BuildDate string
|
BuildDate string
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue