summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-02-28 11:53:43 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-02-28 11:53:43 +0100
commit5ed0e72589798fd4cb42aeee50fa3c5199610530 (patch)
treeecd771a0b839e5dba414616926a098338ae5cf25 /data
parentc31090120ba3a5275bf22bc16406e471646db244 (diff)
downloadhakyll-5ed0e72589798fd4cb42aeee50fa3c5199610530.tar.gz
Fix feed templates
Diffstat (limited to 'data')
-rw-r--r--data/templates/atom-item.xml10
-rw-r--r--data/templates/atom.xml14
-rw-r--r--data/templates/rss-item.xml10
-rw-r--r--data/templates/rss.xml12
4 files changed, 23 insertions, 23 deletions
diff --git a/data/templates/atom-item.xml b/data/templates/atom-item.xml
index 6d0e28f..e9185f2 100644
--- a/data/templates/atom-item.xml
+++ b/data/templates/atom-item.xml
@@ -1,7 +1,7 @@
<entry>
- <title>$title</title>
- <link href="$root$url" />
- <id>$root$url</id>
- <updated>$timestamp</updated>
- <summary type="html"><![CDATA[$description]]></summary>
+ <title>$title$</title>
+ <link href="$root$$url$" />
+ <id>$root$$url$</id>
+ <updated>$timestamp$</updated>
+ <summary type="html"><![CDATA[$description$]]></summary>
</entry>
diff --git a/data/templates/atom.xml b/data/templates/atom.xml
index a2b7a2b..5a7c0cf 100644
--- a/data/templates/atom.xml
+++ b/data/templates/atom.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title>$title</title>
- <link href="$root$url" rel="self" />
- <link href="$root" />
- <id>$root$url</id>
+ <title>$title$</title>
+ <link href="$root$$url$" rel="self" />
+ <link href="$root$" />
+ <id>$root$$url$</id>
<author>
- <name>$authorName</name>
+ <name>$authorName$</name>
</author>
- <updated>$timestamp</updated>
- $body
+ <updated>$timestamp$</updated>
+ $body$
</feed>
diff --git a/data/templates/rss-item.xml b/data/templates/rss-item.xml
index ddfd975..f8f9fcf 100644
--- a/data/templates/rss-item.xml
+++ b/data/templates/rss-item.xml
@@ -1,7 +1,7 @@
<item>
- <title>$title</title>
- <link>$root$url</link>
- <description><![CDATA[$description]]></description>
- <pubDate>$timestamp</pubDate>
- <guid>$root$url</guid>
+ <title>$title$</title>
+ <link>$root$$url$</link>
+ <description><![CDATA[$description$]]></description>
+ <pubDate>$timestamp$</pubDate>
+ <guid>$root$$url$</guid>
</item>
diff --git a/data/templates/rss.xml b/data/templates/rss.xml
index 36f3abd..d2f3915 100644
--- a/data/templates/rss.xml
+++ b/data/templates/rss.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
- <title>$title</title>
- <link>$root</link>
- <description><![CDATA[$description]]></description>
- <atom:link href="$root$url" rel="self"
+ <title>$title$</title>
+ <link>$root$</link>
+ <description><![CDATA[$description$]]></description>
+ <atom:link href="$root$$url$" rel="self"
type="application/rss+xml" />
- <lastBuildDate>$timestamp</lastBuildDate>
- $body
+ <lastBuildDate>$timestamp$</lastBuildDate>
+ $body$
</channel>
</rss>