diff --git a/feed.xml b/feed.xml index 75880a3..4bebae6 100644 --- a/feed.xml +++ b/feed.xml @@ -8,14 +8,17 @@ layout: null <description>{{ site.description | xml_escape }}</description> <link>{{ site.url }}</link> <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" /> - {% for post in site.posts limit:10 %} + {% for post in site.posts limit:20 %} <item> <title>{{ post.title | xml_escape }}</title> - <description>{{ post.content | xml_escape }}</description> + <description> + {% if post.subtitle %}{{ post.subtitle | xml_escape }} - {% endif %} + {{ post.content | strip_html | xml_escape | truncatewords: 50 }} + </description> <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate> <link>{{ site.url }}{{ post.url }}</link> <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid> </item> {% endfor %} </channel> -</rss> \ No newline at end of file +</rss>