changeset 8:67c2ccaef869

adding templates for future use with genshi
author k0s <k0scist@gmail.com>
date Tue, 06 Oct 2009 19:44:02 -0400
parents 57a45adf33d4
children e4f28fde518a
files bitsyblog/templates/blog.html bitsyblog/templates/index.html bitsyblog/templates/site.html
diffstat 3 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bitsyblog/templates/blog.html	Tue Oct 06 19:44:02 2009 -0400
@@ -0,0 +1,7 @@
+
+<div py:for="entry in blog"
+     id="${blog_id}" class="blog-entry">
+  <a name="${blog_id}" />
+  <div class="subject">
+    <a href="TODO">${subject}</a>
+    
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bitsyblog/templates/index.html	Tue Oct 06 19:44:02 2009 -0400
@@ -0,0 +1,8 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <xi:include href="site.html" />
+    <h1><img src="bitsyblog.png" alt="${site_name}"/></h1>
+  </body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bitsyblog/templates/site.html	Tue Oct 06 19:44:02 2009 -0400
@@ -0,0 +1,5 @@
+<ul class="site-nav">
+  <li py:for="link_text, href in navigation">
+    <a href="${href}">${link_text}</a>
+  </li>
+</ul>