path-nav.hbs 474 Bytes
{{#if pathNav}}
    <p class="path-nav">
        {{#each pathNav}}
            {{#if href}}
                <a {{#if @last}}class="last"{{/if}} href="{{href}}" title="{{pathTitle}}">{{{name}}}</a>
            {{^}}
                <span {{#if @last}}class="last"{{/if}} title="{{pathTitle}}">{{{name}}}</span>
            {{/if}}

            {{#unless @last}}
                <span class="iconfont">&#xe601;</span>
            {{/unless}}
        {{/each}}
    </p>
{{/if}}