layout/skeleton/_atom.xml @ 519599cdee45

Clean up some styling.
author Steve Losh <steve@stevelosh.com>
date Thu, 17 Feb 2011 18:11:16 -0500
parents 664b58187482
children 25ec02499fbc
<?xml version="1.0" encoding="utf-8"?>

{% spaceless %}

<feed xmlns="http://www.w3.org/2005/Atom">
    <title>{% block title %}{{ site.name }}{% endblock %}</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 %}