Mercurial > hg > bitsyblog
changeset 33:89f5158ef191
enable RSS on user blogs and index page
author | k0s <k0scist@gmail.com> |
---|---|
date | Sun, 01 Nov 2009 01:38:57 -0400 |
parents | 0826015cc13d |
children | 2a43e43a7e4d |
files | bitsyblog/templates/blog.html bitsyblog/templates/index.html |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bitsyblog/templates/blog.html Sun Nov 01 01:31:36 2009 -0400 +++ b/bitsyblog/templates/blog.html Sun Nov 01 01:38:57 2009 -0400 @@ -15,6 +15,8 @@ title="${sheet}"/> </py:for> + <link rel="alternate" type="application/rss+xml" title="blog - ${user}" href="${user_url(request, user, 'rss')}"/> + </head> <body>
--- a/bitsyblog/templates/index.html Sun Nov 01 01:31:36 2009 -0400 +++ b/bitsyblog/templates/index.html Sun Nov 01 01:38:57 2009 -0400 @@ -7,6 +7,8 @@ <head> <title>${site_name}</title> <link href="${link(request, 'css/site.css')}" type="text/css" rel="stylesheet" title="Default"/> + <link rel="alternate" type="application/rss+xml" title="${site_name}" href="${link(request, 'rss')}"/> + </head> <body> <xi:include href="navigation.html" />