diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 6 |
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 %} |