diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-01-07 12:57:28 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-01-07 12:59:51 +0100 |
commit | c6fcb2f39d31261d99d97f2ff093180cf7512af5 (patch) | |
tree | 1c808055e39772c71d96b33a292edc34ea9f06e2 /data/templates | |
parent | f2cb3a0038b1005eb8e2ba296b71985e7f36e06f (diff) | |
download | hakyll-c6fcb2f39d31261d99d97f2ff093180cf7512af5.tar.gz |
Include atom:updated in Atom feeds
Closes gh-49
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/atom-item.xml | 3 | ||||
-rw-r--r-- | data/templates/atom.xml | 2 | ||||
-rw-r--r-- | data/templates/rss-item.xml | 2 | ||||
-rw-r--r-- | data/templates/rss.xml | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/data/templates/atom-item.xml b/data/templates/atom-item.xml index 4f5aeaf..ab26432 100644 --- a/data/templates/atom-item.xml +++ b/data/templates/atom-item.xml @@ -2,6 +2,7 @@ <title>$title$</title> <link href="$root$$url$" /> <id>$root$$url$</id> - <published>$timestamp$</published> + <published>$published$</published> + <updated>$updated$</updated> <summary type="html"><![CDATA[$description$]]></summary> </entry> diff --git a/data/templates/atom.xml b/data/templates/atom.xml index 5a7c0cf..4a4eaaf 100644 --- a/data/templates/atom.xml +++ b/data/templates/atom.xml @@ -7,6 +7,6 @@ <author> <name>$authorName$</name> </author> - <updated>$timestamp$</updated> + <updated>$updated$</updated> $body$ </feed> diff --git a/data/templates/rss-item.xml b/data/templates/rss-item.xml index f8f9fcf..70126ac 100644 --- a/data/templates/rss-item.xml +++ b/data/templates/rss-item.xml @@ -2,6 +2,6 @@ <title>$title$</title> <link>$root$$url$</link> <description><![CDATA[$description$]]></description> - <pubDate>$timestamp$</pubDate> + <pubDate>$published$</pubDate> <guid>$root$$url$</guid> </item> diff --git a/data/templates/rss.xml b/data/templates/rss.xml index d2f3915..c6f3b08 100644 --- a/data/templates/rss.xml +++ b/data/templates/rss.xml @@ -6,7 +6,7 @@ <description><![CDATA[$description$]]></description> <atom:link href="$root$$url$" rel="self" type="application/rss+xml" /> - <lastBuildDate>$timestamp$</lastBuildDate> + <lastBuildDate>$updated$</lastBuildDate> $body$ </channel> </rss> |