- @foreach (var contentSection in parsedContent) - { - - - @contentSection.Key - - - @if (contentSection.Value.listItems.Any()) - { - - @foreach (var item in contentSection.Value.listItems) - { - - @item - - } - - } - else - { - @contentSection.Value.content - } - - - } -