I use http://vibed.org/docs#web the Web Framework as a starting point.

I need to output some html directly into the diet templated page.

Is there a way of doing so?

I found there are some special objects I can pass to render!() but I couldn't find anything that helps in my case. Would writing custom @dietTraits thing help me or do I have to refer to diet API and then post the rendered page via lower level vibe api?

Or is there any other common way to process some html parts of the page yourself?