with the current set up, views write directly to the content block in govuk_template.html
this means you can't define any common html in layout.html
we don't want people to edit govuk_template, so I think the best thing to do is make layout.html more "responsible" for everything - views should write to layout (which is editable) instead of govuk_template (which is not).
Can you explain with examples of what you mean in relation to the specific problem that caused this issue? It's hard to talk in the abstract about this.
with the current set up, views write directly to the content block in govuk_template.html
this means you can't define any common html in layout.html
we don't want people to edit govuk_template, so I think the best thing to do is make layout.html more "responsible" for everything - views should write to layout (which is editable) instead of govuk_template (which is not).