fix document bug
testing output
new interface

return { content: content, … other locals } instead of plain string.

we may apply it to further template.