From 7fe88c21a62c3763498f92994b620070a4a486b4 Mon Sep 17 00:00:00 2001 From: mayx Date: Mon, 14 Apr 2025 15:45:30 +0000 Subject: Update 2 files - /_data/ai-cache.json - /_layouts/post.html--- _layouts/post.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index 22294b3..2207fae 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -28,7 +28,8 @@ layout: default {% if page.layout != "encrypt" %} AI摘要 -
正在生成中……
+{% assign ai_cache = site.data.ai-cache[page.url] %}{% if ai_cache %}{{ ai_cache }}{% else %}正在生成中……{% endif %}
+{% unless ai_cache %} +{% endunless %}