diff themes/blog.steve.org.uk/index.template @ 132:7a05117f1bc3

Show plural comments correctly.
author Steve Kemp <steve@steve.org.uk>
date Thu, 20 Dec 2007 12:55:09 +0000
parents 5066f7ad8b46
children 1b905160e5e4
line wrap: on
line diff
--- a/themes/blog.steve.org.uk/index.template	Thu Dec 20 12:15:42 2007 +0000
+++ b/themes/blog.steve.org.uk/index.template	Thu Dec 20 12:55:09 2007 +0000
@@ -59,7 +59,7 @@
   <div class="tags">
    <!-- tmpl_if name='comment_count' -->
    <span class="comments">
-   <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->#comments"><!-- tmpl_var name='comment_count' --> comment(s)</a>
+   <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->#comments"><!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if --></a>
    </span>
    <!-- /tmpl_if -->