diff themes/blocky/month.template @ 39:6b5d3f055a8c

2007-10-10 08:53:45 by steve Patches from Josh Grams - prefix handling updates and better dates.
author steve
date Wed, 10 Oct 2007 08:53:45 +0000
parents acbe466b3c13
children 6e6ccf3fa6ce
line wrap: on
line diff
--- a/themes/blocky/month.template	Tue Sep 04 10:51:24 2007 +0000
+++ b/themes/blocky/month.template	Wed Oct 10 08:53:45 2007 +0000
@@ -2,8 +2,8 @@
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>
  <head>
-  <title>Blog : Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></title>
-  <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->style.css">
+  <title>Blog : 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>
@@ -11,7 +11,7 @@
 
  <div class="title">
   <h1><!-- tmpl_if name='blog_title' -->
-       <a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->"><!-- tmpl_var name='blog_title' --></a>
+       <a href="<!-- tmpl_var name='top' -->"><!-- tmpl_var name='blog_title' --></a>
       <!-- tmpl_else -->
        Untitled Blog
       <!-- /tmpl_if -->
@@ -25,11 +25,11 @@
 <table width="100%">
 <tr><td valign="top">
 
- <p>Entries from <!-- tmpl_var name='month' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</p>
+ <p>Entries from <!-- tmpl_var name='month_name' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</p>
 
 <!-- tmpl_loop name='entries' -->
 <fieldset>
- <legend><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></legend>
+ <legend><a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></legend>
 
  <div class="body">
   <!-- tmpl_var name='body' -->
@@ -38,7 +38,7 @@
  <table width="100%">
  <tr><td>
  <!-- tmpl_if name='tags' -->
-  Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop -->
+  Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop -->
  <!-- tmpl_else -->
   No tags
  <!-- /tmpl_if -->
@@ -50,7 +50,7 @@
 </fieldset>
  <p></p>
 <!-- /tmpl_loop -->
- <p style="text-align: right;"><a href="<!-- tmpl_var name='month' escape='html' -->.rss"><img src="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->xml.gif"></a></p>
+ <p style="text-align: right;"><a href="<!-- tmpl_var name='month' escape='html' -->.rss"><img src="<!-- tmpl_var name='top' -->xml.gif"></a></p>
 
 
 </td>
@@ -63,7 +63,7 @@
 <li><!-- tmpl_var name='year' -->
 <ul>
 <!-- tmpl_loop name='months' -->
-<li><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li>
+<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 -->
@@ -74,11 +74,11 @@
 <fieldset>
  <legend>Tags</legend>
  <!-- tmpl_loop name='tagcloud' -->
- <span style="font-size: <!-- tmpl_var name='size' -->px"><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --></span>
+ <span style="font-size: <!-- tmpl_var name='size' -->px"><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --></span>
 <!-- /tmpl_loop -->
 </fieldset>
 
 <!-- /tmpl_if -->
 </td></tr></table>
 </body>
-</html>
\ No newline at end of file
+</html>