-
Notifications
You must be signed in to change notification settings - Fork 392
/
index.html
executable file
·34 lines (33 loc) · 1.47 KB
/
index.html
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
---
---
<div class="main-content index-page clearfix ">
<div class="post-lists">
<div class="post-lists-body">
{% for posts in paginator.posts %}
<div class="post-list-item">
<div class="post-list-item-container">
<div class="item-thumb bg-{{posts.background }}" style="background-image:url('{{posts.background-image }}');"></div>
<a href="{{ posts.url }}">
<div class="item-desc">
<p>{{ posts.content | strip_html | strip_newlines | truncate: 100 }}</p>
</div>
</a>
<div class="item-slant reverse-slant bg-{{ posts.background }}"></div>
<div class="item-slant"> <div class="liberxue-title">
原创
</div></div>
<div class="item-label">
<div class="item-title"><a href="{{ posts.url }}" title="访问 {{ posts.title }}">{{ posts.title }}</a></div>
<div class="item-meta clearfix">
<div class="item-meta-ico bg-ico-book" style="background: url('style/images/bg-ico.png') no-repeat;background-size: 40px auto;"></div>
<div class="item-meta-cat">
<a href="/tags#{{ posts.category }}" title="访问 {{ posts.category }}" data-hover="{{ posts.category }}">{{ posts.category }}</a>
<a href="/archives#{{ posts.date | date: "%Y"}}" title="访问 {{ posts.date | date: "%Y"}}" data-hover="{{ posts.date | date: "%F %H:%M"}}">{{ posts.date | date: "%F %H:%M"}}</a></div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% include pagination.html %}