-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (90 loc) · 4.39 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
layout: default
---
<div id="article-list">
{% for post in paginator.posts %}
<div class="article well clearfix mybody3 aos-init" aos="flip-up">
<i class="fa fa-bookmark article-stick visible-md visible-lg"></i>
<div class="data-article hidden-xs">
<span class="month">{{ post.date | date: "%m" }} 月</span>
<span class="day">{{ post.date | date: "%d" }}</span>
</div>
<section class="hidden-xs">
<div class="title-article">
<h1>
<a href="{{ post.bbslink }}">
<span class="animated_h1">{{ post.title }}</span>
</a>
</h1>
</div>
<div class="tag-article">
<span class="label label-zan">
<i class="fa fa-eye"></i> {{ post.publisher | default: "Publisher" }}
</span>
<span class="label label-zan">
<i class="fa fa-eye"></i> {{ post.transer | default: "Transer" }}
</span>
</div>
<div class="alert alert-zan mybody3">
<p style="text-align: center;">
<a href="{{ post.bbslink }}"> </a>
</p>
<div class="ih-item square effect bottom_to_top">
<a href="{{ post.bbslink }}">
<div class="img">
<img src="{{ post.imgurl }}" alt="{{ post.title }}">
</div>
<div class="info"><p>{{ post.excerpt | strip_html | strip_newlines }} </p></div>
</a>
</div><a href="{{ post.bbslink }}"> </a> <p></p>
</div>
</section>
<section class="visible-xs">
<div class="title-article">
<center>
<h4>
<a href="{{ post.bbslink }}">
<span class="animated_h1">{{ post.title }}</span>
</a>
</h4>
</center>
</div>
<p> </p>
<center>
<i class="fa fa-calendar"></i>{{ post.date | date: "%Y-%m-%d" }}
</center>
<p></p>
<p> </p>
<center>
<i class="fa fa-eye"></i>{{ post.Publisher | default: "Publisher" }}
</center>
<p></p>
<div class="alert alert-zan mybody3">
<p style="text-align: center;">
<a href="{{ post.bbslink }}" title="{{ post.title }}">
<img src="{{ post.imgurl }}" alt="{{ post.title }}">
</a>
</p>
</div>
<div class="alert alert-zan">{{ post.excerpt | strip_html | strip_newlines }}</div> <a class="btn btn-danger pull-right read-more btn-block" href="{{ post.bbslink }}" title="{{ post.title }}">阅读全文</a>
</section>
</div>
{% endfor %}
</div>
<div id="zan-page" class="clearfix">
<ul class="pagination pagination-zan pull-right">
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<li class="active"> <span>{{ page }}</span></li>
{% elsif page == 1 %}
<li>
<a href="{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}/">{{ page }}</a>
</li>
{% else %}
<li>
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}/">{{ page }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>