path-nav.hbs
698 Bytes
{{#if pathNav}}
<p class="path-nav" listType="{{listType}}" brandId="{{brandId}}">
{{#if isHelp}}
<span class="iconfont home-icon"></span>
{{/if}}
{{#each pathNav}}
{{#if name}}
{{#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"></span>
{{/unless}}
{{/if}}
{{/each}}
</p>
{{/if}}