summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-06 15:39:45 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-06 15:39:45 +0100
commit1736710b9e0685f3c3503519e38e9744ba9bb144 (patch)
tree1c79256afb9840a4ba7ce28aaeae41939f3615e6 /data/templates
parentf47fd1a967bb54fb09472287bcb97306979a88b1 (diff)
downloadhakyll-1736710b9e0685f3c3503519e38e9744ba9bb144.tar.gz
Added RSS module.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/rss-item.xml5
-rw-r--r--data/templates/rss.xml9
2 files changed, 14 insertions, 0 deletions
diff --git a/data/templates/rss-item.xml b/data/templates/rss-item.xml
new file mode 100644
index 0000000..2166a25
--- /dev/null
+++ b/data/templates/rss-item.xml
@@ -0,0 +1,5 @@
+<item>
+ <title>$title</title>
+ <link>$absolute/$url</link>
+ <description>$description</description>
+</item>
diff --git a/data/templates/rss.xml b/data/templates/rss.xml
new file mode 100644
index 0000000..62fcc07
--- /dev/null
+++ b/data/templates/rss.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" ?>
+<rss version="2.0">
+ <channel>
+ <title>$title</title>
+ <link>$absolute</link>
+ <description>$description</description>
+ $body
+ </channel>
+</rss>