mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Fix the Hugo.Generator tag so it can be used
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user