Skip to content

Commit e5f8f3e

Browse files
authored
Change description section in feed.xml
I assume that description must contain only post excerpts.
1 parent 72552e3 commit e5f8f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feed.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ layout: null
1414
{% for post in site.posts limit:10 %}
1515
<item>
1616
<title>{{ post.title | xml_escape }}</title>
17-
<description>{{ post.content | xml_escape }}</description>
17+
<description>{{ post.excerpt | remove: '<p>' | remove: '</p>' | xml_escape }}</description>
1818
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
1919
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
2020
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>

0 commit comments

Comments
 (0)