summaryrefslogtreecommitdiff
path: root/rss.xml
diff options
context:
space:
mode:
authormayx2025-08-10 17:01:39 +0000
committermayx2025-08-10 17:01:39 +0000
commit3c324af39e141b0b47dd4e0e6ae114c1ecd94e3c (patch)
treeaf6762031b2b12b555787793dae80b2b6dd76608 /rss.xml
parentd9f22d591a49a794299b6f90c49e0d98d29c84aa (diff)
Update 3 files
- /_data/ai-cache.json - /rss.xml - /feed.json
Diffstat (limited to 'rss.xml')
-rw-r--r--rss.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/rss.xml b/rss.xml
index d29a94d..2f09425 100644
--- a/rss.xml
+++ b/rss.xml
@@ -15,7 +15,10 @@
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
- {% if post.excerpt %}
+ {% assign ai_cache = site.data.ai-cache[post.url] %}
+ {% if ai_cache %}
+ <description>{{ ai_cache | xml_escape }}</description>
+ {% elsif post.excerpt %}
<description>{{ post.excerpt | strip_html | xml_escape }}</description>
{% else %}
<description>{{ post.content | xml_escape }}</description>