-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
42 lines (40 loc) · 1.8 KB
/
index.hbs
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
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
<section class="main">
<div class="main-inner">
<div class="content">
{{#foreach posts}}
<article class="widget">
<header class="widget-header">
<h2 class="widget-title">
<a href="{{url}}">{{{title}}}</a>
</h2>
<div class="widget-meta">
<span>发表于{{date format='YYYY-MM-DD'}}</span>
<span class="visit-wrapper" style="display: none">
<span class="divider">/</span>
<span class="visit" data-url="{{url}}">
<span class="visit-text">阅读次数</span>
<span class="visit-count">0</span>
</span>
</span>
<span class="divider">/</span>
<a href="{{url}}#Comment">
<span class="ds-thread-count" data-thread-key="{{uuid}}"
data-count-type="comments"></span>
</a>
</div>
<div class="hr-line"></div>
</header>
<section class="widget-body">
{{excerpt}}
</section>
<section class="widget-footer">
<a class="btn" href="{{url}}">阅读全文</a>
</section>
</article>
{{/foreach}}
{{pagination}}
</div>
</div>
</section>