diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/feed.xml | 2 | ||||
-rw-r--r-- | templates/feed_entry.xml | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/feed.xml b/templates/feed.xml index 738b1ec..d03b73f 100644 --- a/templates/feed.xml +++ b/templates/feed.xml | |||
@@ -2,7 +2,7 @@ | |||
2 | <feed xmlns="http://www.w3.org/2005/Atom"> | 2 | <feed xmlns="http://www.w3.org/2005/Atom"> |
3 | <title><![CDATA[$if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$]]></title> | 3 | <title><![CDATA[$if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$]]></title> |
4 | <link href="$url.full$" rel="self"/> | 4 | <link href="$url.full$" rel="self"/> |
5 | <link href="$page.url.abs$"/> | 5 | <link href="$page.url.full$"/> |
6 | <updated>$last_update.rfc3339$</updated> | 6 | <updated>$last_update.rfc3339$</updated> |
7 | <id>$url.full$</id> | 7 | <id>$url.full$</id> |
8 | $for(author)$ | 8 | $for(author)$ |
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml index 1c0302c..410a257 100644 --- a/templates/feed_entry.xml +++ b/templates/feed_entry.xml | |||
@@ -2,9 +2,11 @@ $if(it.last_update)$ | |||
2 | <entry> | 2 | <entry> |
3 | <id>$it.url.full$</id> | 3 | <id>$it.url.full$</id> |
4 | <title><![CDATA[$it.title$]]></title> | 4 | <title><![CDATA[$it.title$]]></title> |
5 | <link href="$it.url.abs$"/> | 5 | <link href="$it.url.full$"/> |
6 | $if(it.date)$ | ||
7 | <published>$it.date.rfc3339$</published> | ||
8 | $endif$ | ||
6 | <updated>$it.last_update.rfc3339$</updated> | 9 | <updated>$it.last_update.rfc3339$</updated> |
7 | <content type="html"><![CDATA[$it.content$]]></content> | ||
8 | $if(it.author)$ | 10 | $if(it.author)$ |
9 | $for(it.author)$ | 11 | $for(it.author)$ |
10 | <author> | 12 | <author> |
@@ -24,8 +26,6 @@ $if(it.last_update)$ | |||
24 | </author> | 26 | </author> |
25 | $endfor$ | 27 | $endfor$ |
26 | $endif$ | 28 | $endif$ |
27 | $if(it.date)$ | 29 | <content type="html"><![CDATA[$it.content$]]></content> |
28 | <published>$it.date.rfc3339$</published> | ||
29 | $endif$ | ||
30 | </entry> | 30 | </entry> |
31 | $endif$ | 31 | $endif$ |