package hugolib

import (
	"html/template"
)

const Version = "0.13-DEV"

var (
	CommitHash string
	BuildDate  string
)

var hugoInfo *HugoInfo

// HugoInfo contains information about the current Hugo environment
type HugoInfo struct {
	Version    string
	Generator  template.HTML
	CommitHash string
	BuildDate  string
}

func init() {
	hugoInfo = &HugoInfo{
		Version:    Version,
		CommitHash: CommitHash,
		BuildDate:  BuildDate,
		Generator:  `<meta name="generator" content="Hugo ` + Version + `" />`,
	}
}

package hugolib

const Version = "0.13-DEV"

var (
	CommitHash string
	BuildDate  string
)

var hugoInfo *HugoInfo

// HugoInfo contains information about the current Hugo environment
type HugoInfo struct {
	Version    string
	Generator  string
	CommitHash string
	BuildDate  string
}

func init() {
	hugoInfo = &HugoInfo{
		Version:    Version,
		CommitHash: CommitHash,
		BuildDate:  BuildDate,
		Generator:  `<meta name="generator" content="Hugo ` + Version + `" />`,
	}
}

--- 
+++ 
@@ -1,4 +1,8 @@
 package hugolib
+
+import (
+	"html/template"
+)
 
 const Version = "0.13-DEV"
 
@@ -12,7 +16,7 @@
 // HugoInfo contains information about the current Hugo environment
 type HugoInfo struct {
 	Version    string
-	Generator  string
+	Generator  template.HTML
 	CommitHash string
 	BuildDate  string
 }
Fix the Hugo.Generator tag so it can be used
