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.

22 lines
1.1KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  3. <channel>
  4. <title>{{ config.title }}</title>
  5. <link>{{ config.base_url | urlencode | safe }}</link>
  6. <description>{{ config.description }}</description>
  7. <generator>Zola</generator>
  8. <language>{{ config.default_language }}</language>
  9. <atom:link href="{{ feed_url | safe | urlencode | safe }}" rel="self" type="application/rss+xml"/>
  10. <lastBuildDate>{{ last_build_date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
  11. {% for page in pages %}
  12. <item>
  13. <title>{{ page.title }}</title>
  14. <pubDate>{{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
  15. <link>{{ page.permalink | urlencode | safe }}</link>
  16. <guid>{{ page.permalink | urlencode | safe }}</guid>
  17. <description>{% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %}</description>
  18. </item>
  19. {% endfor %}
  20. </channel>
  21. </rss>