If I do not wrap @section body in an html tag, the content is not wrapped in a __buffer.WriteString call. btw, are you using this in production? I really prefer razor to html/template and sipin/gorazor has a strong dependency on pkg structure and $GOPATH settings (I'm assuming that is why you forked) so thank you very much for putting this library together.
@{
data := razor.M{
"title": "Edit Keyword",
}
+extends Layout(data, ...)
}
@section body {
Hello
}
If I do not wrap @section body in an html tag, the content is not wrapped in a
__buffer.WriteString
call. btw, are you using this in production? I really prefer razor to html/template and sipin/gorazor has a strong dependency on pkg structure and $GOPATH settings (I'm assuming that is why you forked) so thank you very much for putting this library together.produces:
however, wrap in html tag