File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11---
2- layout: none
32---
43<?xml version =" 1.0" encoding =" UTF-8" ?>
54<rss version =" 2.0" xmlns : atom =" http://www.w3.org/2005/Atom" >
@@ -11,11 +10,13 @@ layout: none
1110 {% for post in site.posts limit:10 %}
1211 <item >
1312 <title >{{ post.title | xml_escape }}</title >
14- {% if post.description %}
15- <description >{{ post.description | xml_escape }}</description >
16- {% else %}
17- <description >{{ site.description | xml_escape }}</description >
18- {% endif %}
13+ {% if post.excerpt %}
14+ <description >{{ post.excerpt | xml_escape }}</description >
15+ {% elsif post.description %}
16+ <description >{{ post.description | xml_escape }}</description >
17+ {% else %}
18+ <description >{{ site.description | xml_escape }}</description >
19+ {% endif %}
1920 <pubDate >{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate >
2021 <link >{{ site.url }}{{ post.url }}</link >
2122 <guid isPermaLink =" true" >{{ site.url }}{{ post.url }}</guid >
You can’t perform that action at this time.
0 commit comments