path-nav.phtml 964 Bytes
{{#if pathNav}}
    <p class="path-nav">
        {{#each pathNav}}
            {{#if href}}
                <a href="{{href}}">
                    {{#if @last}}
                        <b>{{name}}</b>
                    {{else}}
                        <span title="{{name}}">{{name}}</span>
                    {{/if}}

                    {{#unless @last}}
                        <span class="iconfont">&#xe601;</span>
                    {{/unless}}
                </a>
            {{^}}
                    {{#if @last}}
                        <b>{{{name}}}</b>
                    {{else}}
                        <span title="{{name}}">{{name}}</span>
                    {{/if}}

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

            {{/if}}
        {{/each}}
    </p>
{{/if}}