Latest version of my personal website

feed.xml 997B

123456789101112131415161718192021222324
  1. ---
  2. redirect_from: "/rss"
  3. ---
  4. <?xml version="1.0" encoding="UTF-8"?>
  5. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  6. <channel>
  7. <title>{{ site.name | xml_escape }}</title>
  8. <description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
  9. <link>{{ site.blog_url }}</link>
  10. <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
  11. {% for post in site.posts limit:10 %}
  12. {% if post.hidden == null or post.hidden == false %}
  13. <item>
  14. <title>{{ post.title | xml_escape }}</title>
  15. <description>{{ post.content | xml_escape }}</description>
  16. <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
  17. <link>{{ site.url }}{{ post.url }}</link>
  18. <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
  19. </item>
  20. {% endif %}
  21. {% endfor %}
  22. </channel>
  23. </rss>