Let's say I have a html file that works as a wrapper for dynamic html content, that I want to reuse something like this:
<div class="content-wrapper">
<div class="header-styles">@Model.HeaderText</div>
@RenderChildren()
<div class="footer-styles">@Model.FooterText</div>
</div>
Is there a way to achieve this? The reusability for my html content wrapper is rather limited, since I have to copy/paste the html for each use case where the child content is different.