Implementing ToMVC

Template engines can include other files so it’s easy to create a few templates, each using a different layout and all of them including the same content template. Not saying that your solution is bad, just that it’s not difficult to do with templates - unless there is something more I’m not aware of.