diff themes/blocky/index.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 fbeda752caa7
line wrap: on
line diff
--- a/themes/blocky/index.template	Tue Sep 04 10:51:24 2007 +0000
+++ b/themes/blocky/index.template	Wed Oct 10 08:53:45 2007 +0000
@@ -3,15 +3,15 @@
 <html>
  <head>
   <title><!-- tmpl_var name='blog_title' --></title>
-  <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='url_prefix' -->style.css">
-  <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='url_prefix' -->index.rss" type="application/rss+xml">
+  <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='top' -->index.rss" type="application/rss+xml">
 
  </head>
  <body>
 
  <div class="title">
   <h1><!-- tmpl_if name='blog_title' -->
-       <a href="<!-- tmpl_var name='url_prefix' -->"><!-- tmpl_var name='blog_title' --></a>
+       <a href="<!-- tmpl_var name='top' -->"><!-- tmpl_var name='blog_title' --></a>
       <!-- tmpl_else -->
        Untitled Blog
       <!-- /tmpl_if -->
@@ -29,7 +29,7 @@
 
  <!-- tmpl_loop name='entries' -->
  <fieldset>
-   <legend><a href="<!-- tmpl_var name='url_prefix' --><!-- 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' --></div>
 
@@ -37,7 +37,7 @@
    <tr>
     <td>
      <!-- tmpl_if name='tags' -->
-       Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='url_prefix' -->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 --> 
@@ -51,7 +51,7 @@
  </fieldset>
  <p></p>
  <!-- /tmpl_loop -->
- <p style="text-align: right;"><a href="index.rss"><img src="<!-- tmpl_var name='url_prefix' -->xml.gif"></a></p>
+ <p style="text-align: right;"><a href="index.rss"><img src="<!-- tmpl_var name='top' -->xml.gif"></a></p>
 
 </td>
 <td width="20%" valign="top">
@@ -63,7 +63,7 @@
 <li><!-- tmpl_var name='year' -->
 <ul>
 <!-- tmpl_loop name='months' -->
-<li><a href="<!-- tmpl_var name='url_prefix' -->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 -->
@@ -75,7 +75,7 @@
 <fieldset>
  <legend>Tags</legend>
  <!-- tmpl_loop name='tagcloud' -->
- <span style="font-size: <!-- tmpl_var name='size' -->px"><a href="<!-- tmpl_var name='url_prefix' -->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 -->