-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (27 loc) · 1.05 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
---
layout: default
---
<main>
{% for post in paginator.posts %}
<div class="catalogue-item">
<h2 class="catalogue-title">
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<div class="catalogue-time"><i class="fa-regular fa-calendar-days"></i> {{ post.date | date: "%Y-%m-%d" }} · <i class="fa-solid fa-user"></i> 刘看山</div>
<p>
{{ post.content | strip_html | truncate:120 }} <a class="read-more" href="{{ post.url | prepend: site.baseurl }}">Read More»</a>
</p>
<div class="hidden">博客沙龙(blog.salon)</div>
</div>
<div class="justify-center"><div class="prbr"></div></div>
{% endfor %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="left arrow">⇦</a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right arrow">⇨</a>
{% endif %}
<span>{{ paginator.page }}</span>
</div>
</main>