gsend is severely disadvantanged right now because being new, it's incompatible with everything. also, http would give you responses with well-defined semantics for free, but json is just a data structure

So, what's the most straightforward way to have different headers/footer blocks for different templates, but using the same default.html.ep layout: partials, blocks, inheritance? Seems I could do what I want using any these…