changeset 306:5293e131c0d0

Fixing comments link location
author Dominic Cleal <dominic@computerkb.co.uk>
date Mon, 22 Dec 2008 12:07:59 +0000
parents 7171fb8070d3
children fe474f3ed3e5
files themes/copyrighteous/index.template
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/themes/copyrighteous/index.template	Mon Dec 22 11:48:32 2008 +0000
+++ b/themes/copyrighteous/index.template	Mon Dec 22 12:07:59 2008 +0000
@@ -31,18 +31,19 @@
 <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> 
 
 <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">Comments</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 -->