Last active
January 15, 2021 07:32
-
-
Save trnktms/2306b3f722a68b26c81e887e7d4331fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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