public void Register(TemplateModelCollection viewTemplateModelRegistrator)
{
viewTemplateModelRegistrator.Add(typeof(JumbotronBlock), new TemplateModel
{
Tags = new[] { Global.ContentAreaTags.FullWidth },
AvailableWithoutTag = false,
Path = BlockPath("JumbotronBlockWide.cshtml")
});
viewTemplateModelRegistrator.Add(typeof(TeaserBlock), new TemplateModel
{
Name = "TeaserBlockWide",
Tags = new[] { Global.ContentAreaTags.TwoThirdsWidth, Global.ContentAreaTags.FullWidth },
AvailableWithoutTag = false,
Path = BlockPath("TeaserBlockWide.cshtml")
});
viewTemplateModelRegistrator.Add(typeof(SitePageData), new TemplateModel
{
Name = "PagePartial",
Inherit = true,
AvailableWithoutTag = true,
Path = PagePartialPath("Page.cshtml")
});
viewTemplateModelRegistrator.Add(typeof(SitePageData), new TemplateModel
{
Name = "PagePartialWide",
Inherit = true,
Tags = new[] { Global.ContentAreaTags.TwoThirdsWidth, Global.ContentAreaTags.FullWidth },
AvailableWithoutTag = false,
Path = PagePartialPath("PageWide.cshtml")
});
viewTemplateModelRegistrator.Add(typeof(ContactPage), new TemplateModel
{
Name = "ContactPagePartialWide",
Tags = new[] { Global.ContentAreaTags.TwoThirdsWidth, Global.ContentAreaTags.FullWidth },
AvailableWithoutTag = false,
Path = PagePartialPath("ContactPageWide.cshtml")
});
viewTemplateModelRegistrator.Add(typeof(IContentData), new TemplateModel
{
Name = "NoRendererMessage",
Inherit = true,
Tags = new[] { Global.ContentAreaTags.NoRenderer },
AvailableWithoutTag = false,
Path = BlockPath("NoRenderer.cshtml")
});
}