Browse Source

编辑index.html

mayx 7 months ago
parent
commit
a9d4790eb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.html

+ 1 - 1
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>