summary refs log tree commit diff
path: root/_layouts
diff options
context:
space:
mode:
authormayx2025-04-08 14:12:54 +0000
committermayx2025-04-08 14:12:54 +0000
commit9170efdaa394de637bf1887f7f8c5ae4c449e512 (patch)
treec5e1b57db00dfceb028522ebe709ae0c9479f76a /_layouts
parentd3eefbba2defb57e54502651ab9e9220e78ab36a (diff)
Update 7 files
- /_includes/word_count.html
- /_config.yml
- /_layouts/default.html
- /Gemfile
- /js/rss-feed-preview.js
- /_posts/2025-04-08-feed.md
- /links.md
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 702e531..e2c3128 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -131,7 +131,7 @@
     <!-- <![endif]-->
     <footer>
       <p>
-        <small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.toLocaleString());</script><br /> 总字数:{% assign count = 0 %}{% for post in site.posts %}{% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %}{% assign count = count | plus: single_count %}{% endfor %}{{ count }} - 文章数:{{ 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 <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>
       </p>
     </footer>
   </div>