try to fix issue #13

This commit is contained in:
Henrique Dias committed 2016-08-03 15:31:43 +01:00
1 parent e428e3b308
commit 53ec7417c6
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -76,6 +76,9 @@ func (p Page) PrintAsHTML(w http.ResponseWriter, templates ...string) (int, erro
// execute the template if there aren't errors
functions := template.FuncMap{
"Defined": variables.Defined,
"Safe": func(s string) template.HTML {
return template.HTML(s)
},
}
if p.Minimal {