Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DD4T Component View, based on Razor view engine.
@using DD4T.Mvc.Html
@model DD4T.ContentModel.IComponentPresentation
@{
Layout = "";
}
<h2>@Model.Component.Fields["Title"].Value</h2>
@Model.Component.Fields["Body"].Value.ResolveRichText()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.