-
Notifications
You must be signed in to change notification settings - Fork 347
/
index.html
executable file
·109 lines (89 loc) · 2.69 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
layout: default
---
{% if site.posts.size == 0 %}
<h2>No post found</h2>
{% endif %}
<div class="posts">
{% if paginator.page == 1 %}
<!-- Html Elements for Search -->
<div id="search-container">
<input type="text" id="search-input" placeholder="search..."
style="margin: 0px 0px 20px 0px; height: 40px; width: 100%;">
<ul id="results-container"></ul>
</div>
<!-- Script pointing to search-script.js -->
<script src="{{site.baseurl}}/assets/js/search-script.js" type="text/javascript"></script>
<!-- Configuration -->
<script>
SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
json: '{{site.baseurl}}/search.json'
})
</script>
<article class="post">
<h2>
<a href="{{ site.baseurl }}/sticky/2018/04/01/how-to-participate-in-terminus.html">【置顶】如何协作参与端点星计划</a>
</h2>
<div class="meta">
<span class="date">
2018-04-01
</span>
<ul class="tag">
<li>
<a href="{{ site.baseurl }}/tags.html#参与">
参与
</a>
</li>
</ul>
</div>
<div class="entry">
Terminus 端点星计划,是在 GitHub 开放平台搭建的一个站点,以去中心化的方式备份微信、微博等平台被删文章。
</div>
<a href="{{ site.baseurl }}/sticky/2018/04/01/how-to-participate-in-terminus.html" class="read-more">Read More</a>
</article>
{% endif%}
{% for post in paginator.posts %}
<article class="post">
<h2>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</h2>
<div clsss="meta">
<span class="date">
{{ post.date | date: "%Y-%m-%d" }}
</span>
<ul class="tag">
{% for tag in post.tags %}
<li>
<a href="{{ site.baseurl }}/tags.html#{{ tag }}">
{{ tag }}
</a>
</li>
{% endfor %}
</ul>
</div>
<div class="entry">
{{ post.description }}
</div>
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
</article>
{% endfor %}
</div>
<script> pangu.spacingPage(); </script>
<div class="pagination">
{% if paginator.previous_page %}
<span class="prev">
<a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="prev">
前一页
</a>
</span>
{% endif %}
{% if paginator.next_page %}
<span class="next">
<a href="{{ site.baseurl}}{{ paginator.next_page_path }}" class="next">
后一页
</a>
</span>
{% endif %}
</div>