mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
503f359aab
Closes #3414 - Adds a helper which shows a select string deopending on the number of items provided ``` {{plural pagination.total empty='No posts' singular='% post' plural='% posts'}} ``` If `pagination.total` == 0, output 'No Posts' If `pagination.total` == 1, outputs `1 Post` If `pagination.total` == 2 or more, outputs `2 Posts` Credit to @sebgie for making this work. |
||
---|---|---|
.. | ||
functional | ||
integration | ||
unit | ||
utils | ||
blanket_coverage.js |