diff options
author | mayx | 2025-04-22 10:00:50 +0000 |
---|---|---|
committer | mayx | 2025-04-22 10:00:50 +0000 |
commit | c454031365600b89486e8e0c5568415dcdc6d425 (patch) | |
tree | 4125823bacf2ffe912260998eadd733b88b9a5ba | |
parent | a9d4790eb737b34dc3d8523db1d1c4529a249f3b (diff) |
Update file index.html
-rw-r--r-- | index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/index.html b/index.html index 0387f53..53f8cbc 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,8 @@ title: 首页 - 我的文章 <hr /> <!-- 遍历分页后的文章 --> -<table{% if paginator.page == 1 %} class="hslice"{% endif %}> +{% if paginator.page == 1 %}<div class="hslice">{% endif %} +<table> {% 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> @@ -29,6 +30,7 @@ title: 首页 - 我的文章 </td></tr> {% endfor %} </table> +{% if paginator.page == 1 %}</div>{% endif %} {% if paginator.total_pages > 1 %} <div class="pagination"> {% if paginator.previous_page %} |