aboutsummaryrefslogtreecommitdiff
path: root/feed.xml
blob: 5aff3a30989f4d510fcbadae5f82b7bd5a286dc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
    <link href="{{ root }}/feed.xml" rel="self" type="application/atom+xml" />
    <link href="{{ root }}/" rel="alternate" type="{{ mime }}" />
    <updated>{{ now.isoformat() }}Z</updated>
    <id>{{ root }}/feed.xml</id>
    <title>boringcactus</title>
    <subtitle>boringcactus's blog posts</subtitle>
    <author>
        <name>boringcactus / Melody Horn</name>
        <uri>/</uri>
    </author>
    {% for post in posts %}
    <entry>
        <title>{{ post.title }}</title>
        <link href="{{ root }}/{{ post.url }}.{{ ext }}" rel="alternate" type="{{ mime }}" title="{{ post.title }}" />
        <published>{{ post.date }}T00:00:00Z</published>
        <updated>{{ post.date }}T00:00:00Z</updated>
        <id>{{ root }}/{{ post.url }}.{{ ext }}</id>
        <content type="{{ content_type }}">{{ post | attr(content_attr) }}</content>
    </entry>
    {% endfor %}
</feed>