From 5c7773fb59d59bdb57fc20789ad44a01dff5c73d Mon Sep 17 00:00:00 2001 From: mayx Date: Tue, 2 Jul 2024 08:09:28 +0000 Subject: Update 2 files - /_layouts/post.html - /js/main.js--- _layouts/post.html | 154 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 97 insertions(+), 57 deletions(-) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index baf7b57..12abedd 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,89 +2,129 @@ layout: default --- -{{ page.date | date: "%-d %B %Y" }} - 字数统计:{% 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: Loading... - +{{ page.date | date: "%-d %B %Y" }} - 字数统计:{% 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: Loading...

{{ page.title }}

by {{ page.author | default: site.author }}


+{% if page.layout != "encrypt" %} + +AI摘要 +

+ +
+ +{% endif %} {% include toc.html html=content sanitize=true h_max=3 %} {{content}} {% if page.tags %} - tags: {{ page.tags | join: " - " }} +tags: {{ page.tags | join: " - " }} {% endif %} + {% if page.next.url %} + + + 下一篇:{{ page.next.title }} + + + {% endif %} + - - + +
- + \ No newline at end of file -- cgit 1.4.1-2-gfad0