Umbraco 7 - Partial View Bradcrumbs
<h1>@CurrentPage.pageTitle</h1>
<nav class="bread-crumb">
<ul class="breadcrumb clearfix">
@foreach(var level in CurrentPage.Ancestors().Where("Visible"))
{
<li><a href="@level.Url">@level.Name</a><span class="divider"></span></li>
}
<li>@CurrentPage.Name</li>
</ul>
</nav>
<nav class="bread-crumb">
<ul class="breadcrumb clearfix">
@foreach(var level in CurrentPage.Ancestors().Where("Visible"))
{
<li><a href="@level.Url">@level.Name</a><span class="divider"></span></li>
}
<li>@CurrentPage.Name</li>
</ul>
</nav>
Comments
Post a Comment