summary refs log tree commit diff
path: root/index.html
diff options
context:
space:
mode:
authormayx2025-05-19 02:03:49 +0000
committermayx2025-05-19 02:03:49 +0000
commite5e305f0f3fdbf46f190a8147e4732f6c82cafc5 (patch)
treea3e86ea55b46ece2619596fbe2df79e6e81c0dc5 /index.html
parent6584393a153ede5ef06b712f89a6a3a08a13aee6 (diff)
Update 4 files
- /links.md
- /_layouts/post.html
- /_layouts/default.html
- /index.html
Diffstat (limited to 'index.html')
-rw-r--r--index.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/index.html b/index.html
index 2fc2904..eccf888 100644
--- a/index.html
+++ b/index.html
@@ -8,21 +8,21 @@ title: 首页 - 我的文章
 <hr />
 
 <!-- 遍历分页后的文章 -->
-<table class="entry-content">
+<table class="entry-content h-feed">
 {% 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>
-  <p class="author">
-    <span class="date">{{ post.date | date: "%-d %B %Y" }}</span>
+  <tr><td class="h-entry" onclick="location='{{ post.url }}'">
+    <h2 class="p-name"><a class="post-link u-url" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2>
+  <p>
+    <time class="date dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%-d %B %Y" }}</span>
     | Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span>
   </p>
-  <div class="content">
+  <div class="content p-summary">
     {{ post.excerpt | strip_html | strip_newlines }} 
   </div>
   {% if post.tags %}
   <span>
     {% for tag in post.tags %}
-    <a href="/search.html?keyword={{ tag | url_encode }}"><code style="white-space: nowrap">#{{ tag }}</code></a>
+    <a rel="category tag" class="p-category" href="/search.html?keyword={{ tag | url_encode }}"><code style="white-space: nowrap">#{{ tag }}</code></a>
     {% endfor %}
   </span>
   {% endif %}