summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-04-22 08:14:26 +0200
committermayx <mayx@outlook.com>2025-04-22 08:14:26 +0200
commita9d4790eb737b34dc3d8523db1d1c4529a249f3b (patch)
treefd16eedd1b7dc9eabc68b5c05fa79226bf043371 /index.html
parent2f59a946db55972c70fd093db1555db2b613ba25 (diff)
编辑index.html
Diffstat (limited to 'index.html')
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index c705b75..0387f53 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,7 @@ title: 首页 - 我的文章
<hr />
<!-- 遍历分页后的文章 -->
-<table {% if paginator.previous_page == 1 %}class="hslice"{% endif %}>
+<table{% if paginator.page == 1 %} class="hslice"{% endif %}>
{% for post in paginator.posts %}
<tr><td onclick="location='{{ post.url }}'">
<h2 class="entry-title"><a class="post-link" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2>