From 9712d06b3674f5e5cd5aeef6a4be1610a393f65f Mon Sep 17 00:00:00 2001 From: bep Date: Mon, 19 Jan 2015 08:26:06 +0100 Subject: [PATCH] Fix the Hugo.Generator tag so it can be used --- hugolib/hugo.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hugolib/hugo.go b/hugolib/hugo.go index b90373b3..011f7cad 100644 --- 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 } -- 2.30.2