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

Show plural comments correctly.
author Steve Kemp <steve@steve.org.uk>
date Thu, 20 Dec 2007 12:55:09 +0000
parents e53f82c0898e
children bef6c294a643
line wrap: on
line diff
--- a/themes/blog.steve.org.uk/month.template	Thu Dec 20 12:15:42 2007 +0000
+++ b/themes/blog.steve.org.uk/month.template	Thu Dec 20 12:55:09 2007 +0000
@@ -67,7 +67,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 -->