changeset 11:ebe8dc33c871

stubbing more markup
author k0s <k0scist@gmail.com>
date Tue, 06 Oct 2009 22:08:12 -0400
parents 93a4557e15c1
children dd8c1c8ae0da
files bitsyblog/templates/blog.html
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyblog/templates/blog.html	Tue Oct 06 21:37:50 2009 -0400
+++ b/bitsyblog/templates/blog.html	Tue Oct 06 22:08:12 2009 -0400
@@ -2,12 +2,14 @@
     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/">
+      xmlns:py="http://genshi.edgewall.org/"
+      xmlns:xi="http://www.w3.org/2001/XInclude">
 
   <head>
     <title>${user} - ${site_name}</title>
 
     <py:for each="index, sheet in stylesheets">
+      <link />
     </py:for>
 
   </head>
@@ -28,14 +30,21 @@
         
         ${body}
         
-        <!-- privacy settings -->
         <div py:if="role == 'author'">
+
+          <!-- privacy settings -->
           <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>
+
+          <!-- mangled URL -->
+          <div>
+            <span title="${'You can give this URL so people may see this %s post without logging in' % entry.privacy}">Mangled URL:</span>
+            <a href="TODO">${'TODO'}</a>
+          </div>
         </div>
 
       </div>