layout/skeleton/_atom.xml @ 15591e79caeb
Update with iterate driver
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 13 Aug 2016 18:32:33 +0000 |
parents |
25ec02499fbc |
children |
(none) |
<?xml version="1.0" encoding="utf-8"?>
{% spaceless %}
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{% block title %}{{ site.name }}{% endblock title %}</title>
{% block self_url %}
<link href="{{ page.node.full_url }}/feed/" rel="self" />
{% endblock %}
{% block site_url %}
<link href="{{ site.full_url }}"/>
{% endblock %}
{% block feed_extra %}{% endblock %}
<updated>{{ now|xmldatetime }}</updated>
<id>{{ site.full_url }}/</id>
{% recent_posts recents 4 page.blog_node %}
{% for post in recents %}
{% if not post.listing and not post.exclude %}
<entry>
<title type="html">{{ post.title }}</title>
<author><name>{{ site.author }}</name></author>
<link href="{{ post.full_url }}"/>
<updated>{{ post.created|xmldatetime }}</updated>
<published>{{ post.created|xmldatetime }}</published>
<id>{{ post.full_url }}</id>
{% block entry_extra %}{% endblock %}
<content type="html">
{% filter force_escape %}
{% render_article post %}
{% endfilter %}
</content>
</entry>
{% endif %}
{% endfor %}
</feed>
{% endspaceless %}