Pluralise post count for author page

No issue

- Introduces the new `plural` helper to correctly word the number of posts
This commit is contained in:
Paul Adam Davis 2014-07-29 18:25:20 +01:00
parent a2ff1c2186
commit 2ac6e818d9
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
<div class="author-meta">
{{#if author.location}}<span class="author-location"><i class="icon-location"></i> {{author.location}}</span>{{/if}}
{{#if author.website}}<span class="author-link"><i class="icon-link"></i> <a href="{{author.website}}">{{author.website}}</a></span>{{/if}}
<span class="author-stats"><i class="icon-stats"></i> {{pagination.total}} posts</span>
<span class="author-stats"><i class="icon-stats"></i> {{plural pagination.total empty='No posts' singular='% post' plural='% posts'}}</span>
</div>
</section>