Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@model ContentBlockModel
<sitecore-output-cache>
<div>
@* Important: Self-closing tags will not work when rendering text fields with the Sitecore tag helpers. *@
<h1 class="contentTitle" asp-for="Title"></h1>
<div class="contentDescription">
<sc-text asp-for="Text"></sc-text>
</div>
</div>
</sitecore-output-cache>
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.