I would like to enforce the use of UmbracoViewPage, and remove the unnecessary using statement (I already have Umbraco.Web.PublishedContentModels in Views/Web.config), so the fact that Umbraco creates this default bootstrap is just annoying and adding (though only a tiny bit) to the workload.
Is it possible in any way to control the template boilerplate?
Change the default template generated when creating a new template
Out of the box, when you create a template you get this markup:
I would like to enforce the use of UmbracoViewPage, and remove the unnecessary using statement (I already have Umbraco.Web.PublishedContentModels in Views/Web.config), so the fact that Umbraco creates this default bootstrap is just annoying and adding (though only a tiny bit) to the workload.
Is it possible in any way to control the template boilerplate?
What I would like, was to have a template like
I've been surfing the source code, and tried a little myself. But it seems like I can't override the methods generating the template.
Hi Søren,
I know this was asked a long time ago, but did you ever find a solution for this? I have the exact same requirement..
It's just a little frustrating to edit each new template the same way every time, so not a killer if this isn't possible.
Cheers :-)
Mark
Unfortunately not, it seems hardcoded.
is working on a reply...