@using Umbraco.Web @inherits Umbraco.Web.Macros.PartialViewMacroPage @* This snippet makes a breadcrumb of parents using an unordered HTML list. How it works: - It uses the Ancestors() method to get all parents and then generates links so the visitor can go back - Finally it outputs the name of the current page (without a link) *@ @{ var selection = Model.Content.Ancestors().ToArray(); } @if (selection.Length > 0) {
}