aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-04 10:13:51 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-04 10:13:51 +0100
commitba1a221b94cb96e0c70a12bd56784302da6e68e8 (patch)
treee9c949b2fa41308de5d70d3951a8f0dbc9aabbd0
parentde30e7bf9a3e8a09ff6f8d23381ae2abbc932d85 (diff)
rss links
-rw-r--r--notes/catalyst-master-merge-todos.txt2
-rw-r--r--templates/web/default/header.html6
-rw-r--r--templates/web/emptyhomes/header.html6
3 files changed, 10 insertions, 4 deletions
diff --git a/notes/catalyst-master-merge-todos.txt b/notes/catalyst-master-merge-todos.txt
index 2a8fd0c81..660d9ac93 100644
--- a/notes/catalyst-master-merge-todos.txt
+++ b/notes/catalyst-master-merge-todos.txt
@@ -6,6 +6,4 @@ should we ditch flickr import? (does not seem to be getting huge usage and those
add 'remember me on this computer' to auth login. What should default session lifetime be?
-rss links
-
tracking code
diff --git a/templates/web/default/header.html b/templates/web/default/header.html
index e27abc473..ec0a3554b 100644
--- a/templates/web/default/header.html
+++ b/templates/web/default/header.html
@@ -12,7 +12,11 @@
<!--[if LT IE 7]>
<style type="text/css">@import url("/css/ie6.css");</style>
<![endif]-->
- [% # FIXME - insert RSS links here %]
+
+ [% IF rss %]
+ <link rel="alternate" type="application/rss+xml" title="[% rss.0 %]" href="[% rss.1 %]">
+ [% END %]
+
</head>
<body>
diff --git a/templates/web/emptyhomes/header.html b/templates/web/emptyhomes/header.html
index f003a840a..5e86cb899 100644
--- a/templates/web/emptyhomes/header.html
+++ b/templates/web/emptyhomes/header.html
@@ -15,7 +15,11 @@
<!--[if LT IE 7]>
<style type="text/css">@import url("/css/ie6.css");</style>
<![endif]-->
-<!-- FIXME {{ $rss }} -->
+
+[% IF rss %]
+ <link rel="alternate" type="application/rss+xml" title="[% rss.0 %]" href="[% rss.1 %]">
+[% END %]
+
</head>
<body>