You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

feed.xml 840B

12345678910111213141516171819202122
  1. ---
  2. layout:
  3. ---
  4. <?xml version="1.0" encoding="UTF-8"?>
  5. {% capture srcbase %}src="{{site.url}}/{% endcapture %}
  6. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  7. <channel>
  8. <title>{{ site.title }}</title>
  9. <description>{{ site.description | xml_escape }}</description>
  10. <link>{{ site.url }}</link>
  11. <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
  12. {% for post in site.posts limit:10 %}
  13. <item>
  14. <title>{{ post.title | xml_escape }}</title>
  15. <description>{{ post.content | replace: 'src="/', srcbase | xml_escape }}</description>
  16. <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
  17. <link>{{ site.url }}{{ post.url }}</link>
  18. <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
  19. </item>
  20. {% endfor %}
  21. </channel>
  22. </rss>