@model ChildrenBlockModel | |
@foreach (var child in Model?.Children ?? Enumerable.Empty<ItemLinkField<ContentBlockModel>>()) | |
{ | |
@await Html.PartialAsync("/Views/Shared/Components/SitecoreComponent/ContentBlock.cshtml", child.Fields) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment