Showing
1 changed file
with
32 additions
and
32 deletions
1 | -{{#if pathNav}} | ||
2 | - <p class="path-nav"> | ||
3 | - {{#each pathNav}} | ||
4 | - {{#if href}} | ||
5 | - <a href="{{href}}"> | ||
6 | - {{#if @last}} | ||
7 | - <b>{{name}}</b> | ||
8 | - {{else}} | ||
9 | - {{name}} | ||
10 | - {{/if}} | ||
11 | - | ||
12 | - {{#unless @last}} | ||
13 | - <span class="iconfont"></span> | ||
14 | - {{/unless}} | ||
15 | - </a> | ||
16 | - {{^}} | ||
17 | - {{#if @last}} | ||
18 | - <b>{{name}}</b> | ||
19 | - {{else}} | ||
20 | - {{name}} | ||
21 | - {{/if}} | ||
22 | - | ||
23 | - {{#unless @last}} | ||
24 | - <span> | ||
25 | - <i class="iconfont"></i> | ||
26 | - </span> | ||
27 | - {{/unless}} | ||
28 | - | ||
29 | - {{/if}} | ||
30 | - {{/each}} | ||
31 | - </p> | ||
32 | -{{/if}} | 1 | +{{#if pathNav}} |
2 | + <p class="path-nav"> | ||
3 | + {{#each pathNav}} | ||
4 | + {{#if href}} | ||
5 | + <a href="{{href}}"> | ||
6 | + {{#if @last}} | ||
7 | + <b>{{name}}</b> | ||
8 | + {{else}} | ||
9 | + {{name}} | ||
10 | + {{/if}} | ||
11 | + | ||
12 | + {{#unless @last}} | ||
13 | + <span class="iconfont"></span> | ||
14 | + {{/unless}} | ||
15 | + </a> | ||
16 | + {{^}} | ||
17 | + {{#if @last}} | ||
18 | + <b>{{{name}}}</b> | ||
19 | + {{else}} | ||
20 | + {{name}} | ||
21 | + {{/if}} | ||
22 | + | ||
23 | + {{#unless @last}} | ||
24 | + <span> | ||
25 | + <i class="iconfont"></i> | ||
26 | + </span> | ||
27 | + {{/unless}} | ||
28 | + | ||
29 | + {{/if}} | ||
30 | + {{/each}} | ||
31 | + </p> | ||
32 | +{{/if}} |
-
Please register or login to post a comment