碎片数据结构更新,使之可以支持服务端handlebar版本
Showing
2 changed files
with
6 additions
and
6 deletions
@@ -8,13 +8,13 @@ | @@ -8,13 +8,13 @@ | ||
8 | </span> | 8 | </span> |
9 | <span class="content-item-detail-subchannle" _time="{{time}}"> | 9 | <span class="content-item-detail-subchannle" _time="{{time}}"> |
10 | {{# channel}} | 10 | {{# channel}} |
11 | - <a href="{{../channelLink}}"> | ||
12 | - {{.}} | 11 | + <a href="{{link}}"> |
12 | + {{name}} | ||
13 | </a> / | 13 | </a> / |
14 | {{/ channel}} | 14 | {{/ channel}} |
15 | {{# subChannel}} | 15 | {{# subChannel}} |
16 | - <a href="{{../subChannel}}"> | ||
17 | - {{.}} | 16 | + <a href="{{link}}"> |
17 | + {{name}} | ||
18 | </a> / | 18 | </a> / |
19 | {{/ subChannel}} | 19 | {{/ subChannel}} |
20 | <span></span> | 20 | <span></span> |
@@ -7,10 +7,10 @@ | @@ -7,10 +7,10 @@ | ||
7 | <div class="item-text-area"> | 7 | <div class="item-text-area"> |
8 | <span class="item-date" _time="{{time}}"> | 8 | <span class="item-date" _time="{{time}}"> |
9 | {{# channel}} | 9 | {{# channel}} |
10 | - <a class="channel" href="{{../channelURL}}" target="_blank">{{.}}</a> / | 10 | + <a class="channel" href="{{link}}" target="_blank">{{name}}</a> / |
11 | {{/ channel}} | 11 | {{/ channel}} |
12 | {{# subChannel}} | 12 | {{# subChannel}} |
13 | - <a class="channel" href="{{../subChannelLink}}" target="_blank">{{.}}</a> / | 13 | + <a class="channel" href="{{link}}" target="_blank">{{name}}</a> / |
14 | {{/ subChannel}} | 14 | {{/ subChannel}} |
15 | </span> | 15 | </span> |
16 | <a class="item-title" href="{{link}}" target="_blank" _title="{{title}}">{{title}}</a> | 16 | <a class="item-title" href="{{link}}" target="_blank" _title="{{title}}">{{title}}</a> |
-
Please register or login to post a comment