-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Categories page always uses the plural of 'post' #595
Comments
👋 Hi @GenericMadScientist, This issue is being automatically closed because it does not follow the issue template. Please DO NOT open another similar issue, try to edit the current issue according to the template, then it will be reopened automatically. |
cotes2020
added a commit
that referenced
this issue
Jun 8, 2022
dkbnz
pushed a commit
to dkbnz/jekyll-theme-chirpy
that referenced
this issue
Jul 12, 2022
shihtiy-tw
pushed a commit
to shihtiy-tw/shihtiy-tw.github.io
that referenced
this issue
Nov 26, 2022
sanjidnet
pushed a commit
to sanjidnet/sanjidnet.github.io
that referenced
this issue
Jan 9, 2023
Ap3x
pushed a commit
to Ap3x/ap3x.github.com
that referenced
this issue
Feb 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
master
branch.Describe the bug
On the categories page, even categories with 1 post will say '1 posts'. Looking at the code for _layouts/categories.html, there is no check for exactly 1 post so this issue will arise with any locale that requires different words for different amounts of posts.
To Reproduce
Steps to reproduce the behavior: have a category with exactly 1 post. This is exhibited by the demo site with the 'Demo' category.
Expected behavior
Such categories should use the appropriate word for the number of posts, so in this case say '1 post' instead of '1 posts'.
Screenshots
Environment
ruby -v
gem -v
bundle -v
bundle exec jekyll -v
bundle info jekyll-theme-chirpy
Desktop
Smartphone
Additional context
None.
The text was updated successfully, but these errors were encountered: