I need to render string as html in Revel. How to do this?
I've tried:
func (c Pages) Show(url string) revel.Result {
bigDig := "<h1>Hello, dig!</h1>"
return c.Render(bigDig)
}
and then in view:
{{template "header.html" .}}
{{.bigDig}}
{{template "footer.html" .}}
but it doesn't work. How to do this?