summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-05-19 04:16:23 +0200
committermayx <mayx@outlook.com>2025-05-19 04:16:23 +0200
commit2b40c9e852b940221428f3aaf733857ca4bd9c00 (patch)
treed34532d31f10cebf132ed350ca0a39e0538cdbc5
parente5e305f0f3fdbf46f190a8147e4732f6c82cafc5 (diff)
Update 2 files
- /_layouts/post.html - /index.html
-rw-r--r--_layouts/post.html2
-rw-r--r--index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 28c603e..982a3f8 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -2,7 +2,7 @@
layout: default
---
-<small><time class="date dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ page.date | date: "%-d %B %Y" }}</time> - 字数统计:{% if page.layout == "encrypt" %}God Knows {% else %}{{ page.content | strip_html | strip_newlines | remove: " " | size }} - 阅读大约需要{{ page.content | strip_html | strip_newlines | remove: "" | size | divided_by: 350 | plus: 1 }}分钟{% endif %} - Hits: <span id="{{ page.url }}" class="visitors">Loading...</span></small>
+<small><time class="date dt-published" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%-d %B %Y" }}</time> - 字数统计:{% if page.layout == "encrypt" %}God Knows {% else %}{{ page.content | strip_html | strip_newlines | remove: " " | size }} - 阅读大约需要{{ page.content | strip_html | strip_newlines | remove: "" | size | divided_by: 350 | plus: 1 }}分钟{% endif %} - Hits: <span id="{{ page.url }}" class="visitors">Loading...</span></small>
<h1 class="p-name">{{ page.title }}</h1>
<p class="view">by <a class="p-author h-card" href="//github.com/{{ page.author | default: "Mabbs" }}">{{ page.author | default: site.author }}</a></p>
diff --git a/index.html b/index.html
index eccf888..85c1b4b 100644
--- a/index.html
+++ b/index.html
@@ -13,7 +13,7 @@ title: 首页 - 我的文章
<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>
+ <time class="date dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%-d %B %Y" }}</time>
| Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span>
</p>
<div class="content p-summary">