summaryrefslogtreecommitdiffstats
path: root/templates/feed.xml
blob: 68d2fc46e5a8ad3a7a86d98a75ebfbdc0bbd1963 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>$if(is_home)$$else$$title$ – $endif$$site.title$</title>
    <link href="$feed.url.full$" rel="self"/>
    <link href="$url.full$"/>
    <updated>$feed.last_update.rfc3339$</updated>
    <id>$url.full$</id>

    $for(pages)$
        $for(it.all)$
            $if(it.date.rfc3339)$
                <entry>
                    <id>$it.url.full$</id>
                    <title type="html"><![CDATA[$it.title$]]></title>
                    <link href="$it.url.full$"/>
                    <published>$it.date.rfc3339$</published>
                    <updated>$it.date.rfc3339$</updated>
                </entry>
            $endif$
        $endfor$
    $endfor$
</feed>