summaryrefslogtreecommitdiffstats
path: root/templates/feed.xml
blob: 8a16804f4d506e0095e3b3c33771e59450db8ad1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title><![CDATA[$if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$]]></title>
    <link href="$url.full$" rel="self"/>
    <link href="$page.url.full$"/>
    <updated>$last_update.rfc3339$</updated>
    <id>$url.full$</id>
    $for(author)$
        <author>
            <name>$it.name$</name>
            $if(it.email)$
                <email>$it.email$</email>
            $endif$
        </author>
    $endfor$

    $if(layout.is_categorized_list)$
        $for(pages.desc_date)$
            $for(it.pages.desc_date)$
                $it:feed_entry()$
            $endfor$
        $endfor$
    $else$
        $for(pages.desc_date)$
            $it:feed_entry()$
        $endfor$
    $endif$
</feed>