diff themes/leftbar/month.template @ 225:ea9cb3e9020b

New theme.
author Steve Kemp <steve@steve.org.uk>
date Fri, 02 May 2008 20:57:12 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/leftbar/month.template	Fri May 02 20:57:12 2008 +0100
@@ -0,0 +1,83 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+  <title><!-- tmpl_var name='blog_title' -->: entries from <!-- tmpl_var name='month_name' --> <!-- tmpl_var name='year' --></title>
+  <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='top' -->style.css">
+  <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='month' escape='html' -->.rss" type="application/rss+xml">
+ </head>
+ <body>
+<!-- XML FEED -->
+
+ <div class="title">
+  <h1><!-- tmpl_if name='blog_title' -->
+       <a href="<!-- tmpl_var name='top' -->"><!-- tmpl_var name='blog_title' --></a>
+      <!-- tmpl_else -->
+       Untitled Blog
+      <!-- /tmpl_if -->
+  </h1>
+  <!-- tmpl_if name='blog_subtitle' -->
+      <h2><!-- tmpl_var name='blog_subtitle' --></h2>
+  <!-- /tmpl_if -->
+ </div>
+
+ <p>Entries from <!-- tmpl_var name='month_name' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</p>
+
+<!-- tmpl_loop name='entries' -->
+<div class="entry">
+ <div class="title">
+ <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->"><!-- tmpl_var name='title' --></a>
+ </div>
+ <div class="date">
+  <!-- tmpl_var name='date' -->
+ </div>
+
+ <div class="body">
+  <!-- tmpl_var name='body' -->
+ </div>
+ <div class="tags">
+ <!-- tmpl_if name='comment_count' -->
+   <span class="comments">
+    <!-- tmpl_var name='comment_count' --> comments.  
+   </span>
+ <!-- /tmpl_if -->
+
+ <!-- tmpl_if name='tags' -->
+  Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop -->
+ <!-- tmpl_else -->
+  No tags
+ <!-- /tmpl_if -->
+ </div>
+</div>
+ <div class="padding"></div>
+<!-- /tmpl_loop -->
+ <p style="text-align: right;"><a href="<!-- tmpl_var name='month' escape='html' -->.rss"><img src="<!-- tmpl_var name='top' -->xml.gif" alt="RSS Feed" width="36" height="14"></a></p>
+
+
+
+<div id="sidebar">
+<!-- tmpl_if name='datecloud' -->
+<h2>Archive</h2>
+<ul>
+<!-- tmpl_loop name='datecloud' -->
+<li><!-- tmpl_var name='year' -->
+<ul>
+<!-- tmpl_loop name='months' -->
+<li><a href="<!-- tmpl_var name='top' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month_name' --> (<!-- tmpl_var name='count' -->)</a></li>
+<!-- /tmpl_loop -->
+</ul></li>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if name='datecloud' -->
+
+<!-- tmpl_if name='tagcloud' -->
+<h2>Tags</h2>
+<ul>
+<!-- tmpl_loop name='tagcloud' -->
+ <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --> (<!-- tmpl_var name='count' -->)</a></li>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if -->
+</div>
+</body>
+</html>