Showing
1 changed file
with
9 additions
and
8 deletions
1 | {{#if pathNav}} | 1 | {{#if pathNav}} |
2 | <p class="path-nav"> | 2 | <p class="path-nav"> |
3 | {{#each pathNav}} | 3 | {{#each pathNav}} |
4 | - {{#if href}} | ||
5 | - <a {{#if @last}}class="last"{{/if}} href="{{href}}" title="{{pathTitle}}">{{{name}}}</a> | ||
6 | - {{^}} | ||
7 | - <span {{#if @last}}class="last"{{/if}} title="{{pathTitle}}">{{{name}}}</span> | 4 | + {{#if name}} |
5 | + {{#if href}} | ||
6 | + <a {{#if @last}}class="last"{{/if}} href="{{href}}" title="{{pathTitle}}">{{{name}}}</a> | ||
7 | + {{^}} | ||
8 | + <span {{#if @last}}class="last"{{/if}} title="{{pathTitle}}">{{{name}}}</span> | ||
9 | + {{/if}} | ||
10 | + {{#unless @last}} | ||
11 | + <span class="iconfont"></span> | ||
12 | + {{/unless}} | ||
8 | {{/if}} | 13 | {{/if}} |
9 | - | ||
10 | - {{#unless @last}} | ||
11 | - <span class="iconfont"></span> | ||
12 | - {{/unless}} | ||
13 | {{/each}} | 14 | {{/each}} |
14 | </p> | 15 | </p> |
15 | {{/if}} | 16 | {{/if}} |
-
Please register or login to post a comment