feed.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. ---
  2. search: exclude
  3. layout: none
  4. ---
  5. <?xml version="1.0" encoding="UTF-8"?>
  6. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  7. <channel>
  8. <title>{{ site.title | xml_escape }}</title>
  9. <description>{{ site.description | xml_escape }}</description>
  10. <link>{{ site.url }}/</link>
  11. <atom:link href="{{ "/feed.xml" | prepend: site.url }}" rel="self" type="application/rss+xml"/>
  12. <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
  13. <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
  14. <generator>Jekyll v{{ jekyll.version }}</generator>
  15. {% for post in site.posts limit:10 %}
  16. <item>
  17. <title>{{ post.title | xml_escape }}</title>
  18. <description>{{ post.content | xml_escape }}</description>
  19. <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
  20. <link>{{ post.url | prepend: site.url }}</link>
  21. <guid isPermaLink="true">{{ post.url | prepend: site.url }}</guid>
  22. {% for tag in post.tags %}
  23. <category>{{ tag | xml_escape }}</category>
  24. {% endfor %}
  25. {% for tag in page.tags %}
  26. <category>{{ cat | xml_escape }}</category>
  27. {% endfor %}
  28. </item>
  29. {% endfor %}
  30. </channel>
  31. </rss>