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:
parent
a2ff1c2186
commit
2ac6e818d9
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue