diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-01-19 08:26:06 +0100 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-01-19 08:26:06 +0100 |
commit | 9712d06b3674f5e5cd5aeef6a4be1610a393f65f (patch) | |
tree | e3b07d0dccae340e6b33cea5940b10ef794c99ba | |
parent | 56eead2adebe5db289b955b327cce2cd696139c1 (diff) |
Fix the Hugo.Generator tag so it can be used
-rw-r--r-- | hugolib/hugo.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hugolib/hugo.go b/hugolib/hugo.go index b90373b3c..011f7cad8 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 } |