/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@* http://goo.gl/C1IAx <- umbraco dynamic node reference *@ @{ <ul class="breadcrumbs"> @foreach(var page in Model.Ancestors().Where("umbracoNaviHide != true").Where("level > 1")) { <li><a href="@page.Url">@page.Name</a></li> } <li>@Model.Name</li> </ul> }