-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
feat(v2): pluralize posts on tag's page #2263
Conversation
packages/docusaurus-theme-classic/src/theme/BlogTagsPostsPage/index.js
Outdated
Show resolved
Hide resolved
Deploy preview for docusaurus-2 ready! Built with commit 52982ee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if pluralize should be part of Docusaurus core utils. I get that we want to fix it for the blog page, but can we just add it to the blog plugin instead of Docusaurus core? I don't want to bloat up the core. The smaller API surface we have, the better for maintainability.
Hmm, yes, apparently I was mistaken with this decision, fixed ✔️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but CI is failing. Not sure why.
Fixed, it seems to me time to rest 🤕 |
Motivation
Adding basic feature to form plural word forms. This is of course a very simple util function, and when localization functionality appears, it needs to be improved, but at the moment it is doing its job perfectly
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan