path-nav.hbs
468 Bytes
{{#if nav}}
<p class="path-nav">
{{#each nav}}
{{#if link}}
<a {{#if @last}}class="last"{{/if}} href="{{https link}}" title="{{pathTitle}}">{{{name}}}</a>
{{^}}
<span {{#if @last}}class="last"{{/if}} title="{{pathTitle}}">{{{name}}}</span>
{{/if}}
{{#unless @last}}
<span class="icon">⁄</span>
{{/unless}}
{{/each}}
</p>
{{/if}}