diff options
author | mayx | 2025-04-07 08:21:34 +0000 |
---|---|---|
committer | mayx | 2025-04-07 08:21:34 +0000 |
commit | 8c26bc57d5b9c9d5a6155eba222bc7fd47dd74f8 (patch) | |
tree | d937722053cc5f18d677e5c5ee8ecc977a79cf9c /_posts/2024-07-03-ai-summary.md | |
parent | 85594ca8b1a3e9315be9a6e4529cf39cfc18475b (diff) |
Update 6 files
- /_layouts/post.html - /_layouts/default.html - /_posts/2024-07-03-ai-summary.md - /_posts/2022-02-14-move.md - /_posts/2022-01-04-banned.md - /proxylist.md
Diffstat (limited to '_posts/2024-07-03-ai-summary.md')
-rw-r--r-- | _posts/2024-07-03-ai-summary.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_posts/2024-07-03-ai-summary.md b/_posts/2024-07-03-ai-summary.md index 62b85dd..a5a0d3c 100644 --- a/_posts/2024-07-03-ai-summary.md +++ b/_posts/2024-07-03-ai-summary.md @@ -235,8 +235,8 @@ export default { } ``` 另外也写了配套的前端代码(用的jQuery,其实应该用Fetch的😂): -```html {% raw %} +```html <b>AI摘要</b> <p id="ai-output">正在生成中……</p> <script> @@ -279,8 +279,8 @@ export default { } ai_gen(); </script> -{% endraw %} ``` +{% endraw %} 本来文章内容应该从html里读更好一些,但是标签啥的还得用正则去掉,感觉不如Liquid方便😂。另外博客计数器不应该用MD5的,但懒得改之前的数据了,还好Cloudflare Workers为了兼容是支持MD5的,免得我还得想办法改数据库里的数据。 # 使用方法 |