summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-04-22 08:01:34 +0200
committermayx <mayx@outlook.com>2025-04-22 08:01:34 +0200
commit2f59a946db55972c70fd093db1555db2b613ba25 (patch)
tree0d30db1893cf49a3ba204abe48f60d186001a4a5 /index.html
parent1f5ef5079cd53751d41589a09b0140ee52103194 (diff)
Update 4 files
- /_layouts/default.html - /_layouts/post.html - /index.html - /assets/css/style.scss
Diffstat (limited to 'index.html')
-rw-r--r--index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.html b/index.html
index 85243d5..c705b75 100644
--- a/index.html
+++ b/index.html
@@ -8,15 +8,15 @@ title: 首页 - 我的文章
<hr />
<!-- 遍历分页后的文章 -->
-<table>
+<table {% if paginator.previous_page == 1 %}class="hslice"{% endif %}>
{% for post in paginator.posts %}
<tr><td onclick="location='{{ post.url }}'">
- <h2><a class="post-link" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2>
+ <h2 class="entry-title"><a class="post-link" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2>
<p class="author">
<span class="date">{{ post.date | date: "%-d %B %Y" }}</span>
| Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span>
</p>
- <div class="content">
+ <div class="content entry-content">
{{ post.excerpt | strip_html | strip_newlines }}
</div>
{% if post.tags %}