diff options
-rw-r--r-- | index.html | 2 |
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> |