Mercurial > hg > bitsyblog
view bitsyblog/templates/blog.html @ 10:93a4557e15c1
filling out genshi
author | k0s <k0scist@gmail.com> |
---|---|
date | Tue, 06 Oct 2009 21:37:50 -0400 |
parents | 67c2ccaef869 |
children | ebe8dc33c871 |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/"> <head> <title>${user} - ${site_name}</title> <py:for each="index, sheet in stylesheets"> </py:for> </head> <body> <xi:include href="navigation.html"> <div py:for="entry in blog" id="${entry.datestamp()}" class="blog-entry"> <a name="${entry.datestamp()}" /> <div class="subject"> <a href="TODO">${subject}</a> <em py:if="entry.privacy == secret and role == 'friend'"> secret </em> </div> ${body} <!-- privacy settings --> <div py:if="role == 'author'"> <form action="TODO" method="post"> <span title="viewable to everyone">public<input checked type="radio" name="privacy" value="public"/></span> <span title="viewable only to your friends">secret<input type="radio" name="privacy" value="secret"/></span> <span title="viewable only to you">private<input type="radio" name="privacy" value="private"/></span> <input type="submit" name="submit" value="Change Privacy" /> </form> </div> </div> </body> </html>