-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix incorrect slugification of company names #397
Conversation
No need for rebasing 👍 |
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
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.
This works! Could you check 2176/Macy's - that one isn't loading for me for some reason (may not be related)
Ignore slashes and periods when slugifying company names. Closes #365
Standardize the slugification process across page generation (via gatsby-config.js) and link generation (src/util/index.js), using the @sindresorhus/slugify package used internally by Gatsby. Switch how names like "Jd.Com" are slugified to be consistent with sindresorhus's approach.
1aaebbc
to
b0305e9
Compare
@jmelot Found and fixed the issue - Gatsby used a different slugification process, so there wasn't agreement between the pages that were actually generated and the links that were generated. |
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.
👍 thanks for debugging that!
Ignore slashes and periods when slugifying company names.
Closes #365