Mercurial > hg > bitsyblog
comparison bitsyblog/templates/blog.html @ 35:7e7fbdc64cc1
enable atom support, this brings us to 2.0
author | k0s <k0scist@gmail.com> |
---|---|
date | Sun, 01 Nov 2009 13:30:18 -0500 |
parents | 89f5158ef191 |
children |
comparison
equal
deleted
inserted
replaced
34:2a43e43a7e4d | 35:7e7fbdc64cc1 |
---|---|
6 xmlns:xi="http://www.w3.org/2001/XInclude"> | 6 xmlns:xi="http://www.w3.org/2001/XInclude"> |
7 | 7 |
8 <head> | 8 <head> |
9 <title>${user} - ${site_name}</title> | 9 <title>${user} - ${site_name}</title> |
10 | 10 |
11 <!-- stylesheets --> | |
11 <py:for each="index, (href, sheet) in enumerate(stylesheets)"> | 12 <py:for each="index, (href, sheet) in enumerate(stylesheets)"> |
12 <link href="${href}" | 13 <link href="${href}" |
13 type="text/css" | 14 type="text/css" |
14 rel="${index and 'alternate stylesheet' or 'stylesheet'}" | 15 rel="${index and 'alternate stylesheet' or 'stylesheet'}" |
15 title="${sheet}"/> | 16 title="${sheet}"/> |
16 </py:for> | 17 </py:for> |
17 | 18 |
18 <link rel="alternate" type="application/rss+xml" title="blog - ${user}" href="${user_url(request, user, 'rss')}"/> | 19 <!-- feeds --> |
19 | 20 <link rel="alternate" type="application/rss+xml" title="blog - ${user} - RSS" href="${user_url(request, user, 'rss')}"/> |
21 <link rel="alternate" type="application/atom+xml" title="blog - ${user} - Atom" href="${user_url(request, user, 'atom')}"/> | |
20 </head> | 22 </head> |
21 | 23 |
22 <body> | 24 <body> |
23 | 25 |
24 <xi:include href="navigation.html" /> | 26 <xi:include href="navigation.html" /> |