changeset 307:fe474f3ed3e5 default tip

Making archive pages have the same layout as the index
author Dominic Cleal <dominic@computerkb.co.uk>
date Mon, 22 Dec 2008 12:08:20 +0000
parents 5293e131c0d0
children
files themes/copyrighteous/month.template
diffstat 1 files changed, 14 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/themes/copyrighteous/month.template	Mon Dec 22 12:07:59 2008 +0000
+++ b/themes/copyrighteous/month.template	Mon Dec 22 12:08:20 2008 +0000
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <html>
 <head>
- <title>copyrighteous: Items from <!-- tmpl_var name='month_name' --> <!-- tmpl_var name='year' --></title>
+ <title><!-- tmpl_var name='blog_title' -->: Items 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>
@@ -24,24 +24,25 @@
 <br />
 
 <!-- tmpl_loop name='entries' -->
-
-<div class="blosxomFirstDayDiv">
-<span class="blosxomDate"><!-- tmpl_var name='date' --></span>
 <div class="storybox">
-<p>
-<span class="blosxomTitle"><!-- tmpl_var name='title' --></span>
+<span class="blosxomTitle"><a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->"><!-- tmpl_var name='title' --></a></span>
 
 <div id="story">
 <!-- tmpl_var name='body' -->
 </div>
-   <!-- tmpl_if name='comment_count' -->
-    <span class="comments">
-     <!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if -->.
-    </span>
-   <!-- /tmpl_if -->
+
+<span class="tags"><!-- tmpl_if name='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_if --> </span> 
 
-<a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->">Permalink</a>
-<span class="tags"><!-- tmpl_if name='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_if --> </span> 
+<div class="storyFooter">
+    Posted on <!-- tmpl_var name='date' --> |
+    <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->">Permalink</a> |
+    <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->#comments">
+    <!-- tmpl_if name='comment_count' -->
+      <!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if -->.
+    <!-- tmpl_else -->
+      Add comment
+    <!-- /tmpl_if -->
+    </a>
 </div>
 </div>
 <!-- /tmpl_loop -->