right-side.hbs
1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<div class="ex-reco">
<h2 class="ex-reco-title">精彩推荐</h2>
<div id="ex-reco-list" class="ex-reco-list">
{{# exRecos}}
<div class="ex-reco-item clearfix">
<a class="ex-reco-img" href="{{url}}" target="_blank">
<span class="bg-img" style="background-image:url({{image2 img}})"></span>
</a>
<a href="{{url}}" target="_blank">
<p class="ex-reco-context">{{title}}</p>
</a>
</div>
{{/ exRecos}}
</div>
</div>
{{#unless @root.pc.guang.removeHotTag}}
<div class="hot">
<h2 class="hot-title">热门标签</h2>
<div class="hot-tag-list">
{{#hotTags}}
<a class="hot-tag" href="{{url}}" target="_blank" rel="nofollow">
{{tagName}}
</a>
{{/hotTags}}
</div>
</div>
{{/unless}}
{{#if authorArticle}}
<div class="ex-reco">
<h2 class="ex-reco-title">作者相关文章</h2>
<div id="ex-reco-list" class="ex-reco-list">
{{# authorArticle}}
{{#if url}}
<div class="ex-reco-item clearfix">
<a class="ex-reco-img" href="{{url}}" target="_blank">
<span class="bg-img" style="background-image:url({{image2 img}})"></span>
</a>
<a href="{{url}}" target="_blank">
<p class="ex-reco-context">{{title}}</p>
</a>
</div>
{{/if}}
{{/ authorArticle}}
</div>
</div>
{{/if}}
<div class="ads">
{{# ads}}
<a class="ad" href="{{url}}" target="_blank">
<img class="lazy" data-original="{{image2 img}}">
</a>
{{/ ads}}
</div>