Umbraco 6 Razor Breadcrumb Trail

razor code for a breadcrumb trail

Posted on Saturday, September 21, 2013


Desired out:

Breadcrumb

Razor Code:

 HTML Output:

<ol class="breadcrumb">
<li>You are here:</li>
<li><a href="/home.aspx" title="Home">Home</a> &gt; </li>
<li><a href="/home/about-us.aspx" title="About us">About us</a> &gt; </li>
<li class="active">Section 1</li>
</ol>