diff themes/blog.steve.org.uk/entry.template @ 157:bef6c294a643

Moved the date cloud + tag cloud into their own file.
author Steve Kemp <steve@steve.org.uk>
date Sat, 05 Jan 2008 22:37:52 +0000
parents 4a882ba147e4
children
line wrap: on
line diff
--- a/themes/blog.steve.org.uk/entry.template	Thu Jan 03 22:13:57 2008 +0000
+++ b/themes/blog.steve.org.uk/entry.template	Sat Jan 05 22:37:52 2008 +0000
@@ -51,20 +51,9 @@
 <!-- /tmpl_if name='calendar' -->
 
 <!-- tmpl_if name='datecloud' -->
-<h3>Archive</h3>
-<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_include name='archive.inc' -->
 <!-- /tmpl_if name='datecloud' -->
 
-
 </td>
 
  <!-- center -->
@@ -87,13 +76,9 @@
  <td width="20%" valign="top"> 
 
 <!-- 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 -->
+ <!-- tmpl_include name='tags.inc' -->
+<!-- /tmpl_if name='tagcloud' -->
+
 </td>
 
 </tr></table>