mirror of
https://github.com/Mabbs/mabbs.github.io
synced 2025-12-20 04:25:35 +01:00
Update 3 files
- /_data/ai-cache.json - /rss.xml - /feed.json
This commit is contained in:
parent
d9f22d591a
commit
3c324af39e
3 changed files with 7 additions and 3 deletions
5
rss.xml
5
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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue