Skip to content

Instantly share code, notes, and snippets.

@cssquirrel
Created February 20, 2018 22:03
Show Gist options
  • Select an option

  • Save cssquirrel/273064aba6a123df5b7b663824c16133 to your computer and use it in GitHub Desktop.

Select an option

Save cssquirrel/273064aba6a123df5b7b663824c16133 to your computer and use it in GitHub Desktop.

Revisions

  1. cssquirrel created this gist Feb 20, 2018.
    5 changes: 5 additions & 0 deletions ernest-example.cshtml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    @inherits UmbracoTemplatePage
    <div>
    @* Assume we have an Ernest property editor named bodyText on the document type.*@
    @Model.Content.GetPropertyValue<IHtmlString>("bodyText")
    </div>