summaryrefslogtreecommitdiffhomepage
path: root/sites/www/_templates
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-01-21 16:59:21 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-01-21 16:59:21 -0800
commit2da914252064af8dc419b49a423ab57fdb0617c4 (patch)
tree27fdd3d93db3ccf8af80c03893a858d20c20fdf8 /sites/www/_templates
parentc224fdecf174077f3b7a15f056e65b10282fed38 (diff)
Rename 'main' doctree to 'www'; refactor sphinx task conf
Diffstat (limited to 'sites/www/_templates')
-rw-r--r--sites/www/_templates/rss.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/sites/www/_templates/rss.xml b/sites/www/_templates/rss.xml
new file mode 100644
index 00000000..f6f9cbd1
--- /dev/null
+++ b/sites/www/_templates/rss.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+ <channel>
+ <atom:link href="{{ atom }}" rel="self" type="application/rss+xml" />
+ <title>{{ title }}</title>
+ <link>{{ link }}</link>
+ <description>{{ description }}</description>
+ <pubDate>{{ date }}</pubDate>
+ {% for link, title, desc, date in posts %}
+ <item>
+ <link>{{ link }}</link>
+ <guid>{{ link }}</guid>
+ <title><![CDATA[{{ title }}]]></title>
+ <description><![CDATA[{{ desc }}]]></description>
+ <pubDate>{{ date }}</pubDate>
+ </item>
+ {% endfor %}
+ </channel>
+</rss>