Return to Snippet

Revision: 44005
at April 4, 2011 23:53 by fengelz


Initial Code
@* 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>
}

Initial URL

                                

Initial Description

                                

Initial Title
Creating a breadcrumbpath in umbraco with razor

Initial Tags

                                

Initial Language
C#