shithub: hugo

Download patch

ref: 9712d06b3674f5e5cd5aeef6a4be1610a393f65f
parent: 56eead2adebe5db289b955b327cce2cd696139c1
author: bep <[email protected]>
date: Mon Jan 19 03:26:06 EST 2015

Fix the Hugo.Generator tag so it can be used

--- 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 @@
 // HugoInfo contains information about the current Hugo environment
 type HugoInfo struct {
 	Version    string
-	Generator  string
+	Generator  template.HTML
 	CommitHash string
 	BuildDate  string
 }