소스 검색

Update 3 files

- /_data/ai-cache.json
- /rss.xml
- /feed.json
mayx 6 달 전
부모
커밋
3c324af39e
3개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 1
      _data/ai-cache.json
  2. 1 1
      feed.json
  3. 4 1
      rss.xml

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 1
_data/ai-cache.json


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
feed.json


+ 4 - 1
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>