Skip to content

Commit

Permalink
Fix the RSS feed truncation to avoid truncating in the middle of an e…
Browse files Browse the repository at this point in the history
…ntity
  • Loading branch information
gsmet committed Dec 26, 2019
1 parent 21a8dd1 commit 2b10595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ layout: null
{{ post.url | prepend: site.url }}
</link>
<description>
{{ post.content | strip_html | truncate: '400' }}
{{ post.content | strip_html | truncatewords: '50' }}
</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<guid>
Expand Down

0 comments on commit 2b10595

Please sign in to comment.