feed.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  3. <title type="text">exegetes.eu.org</title>
  4. <link rel="self" type="application/atom+xml" href="https://exegetes.eu.org/feed.xml" />
  5. <link rel="alternate" type="text/html" href="https://exegetes.eu.org" />
  6. {% for child in this.parent.pagination.items %}
  7. {% if child._data._model == "posts" %}
  8. {% for post in child.pagination.items|rejectattr("private") %}
  9. {% if loop.index == 1 %}
  10. <updated>{{ post.pub_date }}</updated>
  11. <id>https://exegetes.eu.org/</id>
  12. <author>
  13. <name>Les exégètes amateurs</name>
  14. <uri>https://exegetes.eu.org/</uri>
  15. <email>contact@exegetes.eu.org</email>
  16. </author>
  17. {% endif %}
  18. {% if loop.index <= 10 %}
  19. <entry>
  20. <title type="html"><![CDATA[{{ post.title }}]]></title>
  21. <link rel="alternate" type="text/html" href="https://exegetes.eu.org/{{ post|url }}"/>
  22. <id>https://exegetes.eu.org/{{ post|url }}</id>
  23. <published>{{ post.pub_date }}</published>
  24. <updated>{{ post.pub_date }}</updated>
  25. <author>
  26. <name>Les exégètes amateurs</name>
  27. <uri>https://exegetes.eu.org</uri>
  28. <email>contact@exegetes.eu.org</email>
  29. </author>
  30. <content type="html">
  31. {{ post.body|forceescape }}
  32. </content>
  33. </entry>
  34. {% endif %}
  35. {% endfor %}
  36. {% endif %}
  37. {% endfor %}
  38. </feed>