commit 9712d06b3674f5e5cd5aeef6a4be1610a393f65f
parent 56eead2adebe5db289b955b327cce2cd696139c1
Author: bep <bjorn.erik.pedersen@gmail.com>
Date: Mon, 19 Jan 2015 08:26:06 +0100
Fix the Hugo.Generator tag so it can be used
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hugolib/hugo.go b/hugolib/hugo.go
@@ -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
}