summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-04-17 05:51:49 +0200
committermayx <mayx@outlook.com>2025-04-17 05:51:49 +0200
commit9f2bed804edb18f5fca4ed27a2121943c64c6022 (patch)
treedbe87d16c5ec459c17b35005ff2bf7c770116cd0 /_layouts
parent8211f6d1a2f152fe8a1f5d81382d0947e9b7ad07 (diff)
Update 5 files
- /_config.yml - /assets/css/style.scss - /assets/js/main.js - /_layouts/default.html - /_layouts/post.html
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html2
-rw-r--r--_layouts/post.html2
2 files changed, 1 insertions, 3 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 7dd847f..303c26f 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -129,7 +129,7 @@
<!-- <![endif]-->
<footer>
<p>
- <small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.toLocaleString());</script><br /> 总字数:{% include_cached word_count.html %} - 文章数:{{ site.posts.size }} - <a href="{{ site.feed.path | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small>
+ <small>Made with ❤ by Mayx<br />Last updated at {{ site.time | date: "%F %T" }}<br /> 总字数:{% include_cached word_count.html %} - 文章数:{{ site.posts.size }} - <a href="{{ site.feed.path | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small>
</p>
</footer>
</div>
diff --git a/_layouts/post.html b/_layouts/post.html
index 2207fae..a1e72b5 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -26,7 +26,6 @@ layout: default
<hr />
{% if page.layout != "encrypt" %}
-<!--[if !IE]> -->
<b>AI摘要</b>
<p id="ai-output">{% assign ai_cache = site.data.ai-cache[page.url] %}{% if ai_cache %}{{ ai_cache }}{% else %}正在生成中……{% endif %}</p>
{% unless ai_cache %}
@@ -72,7 +71,6 @@ layout: default
</script>
{% endunless %}
<hr />
-<!-- <![endif]-->
{% endif %}
{% include toc.html html=content sanitize=true h_max=3 %}