-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Underscores in post name converted to hyphens #4135
Comments
When I send pr #4100 , I thought it was just a cased/uncased issue, now it turns out to be a bigger problem. In 2.5.3, we use
In 3.0.0, we merged We can't simply remove the slugify as it will affect original documents. So a proper solution here is: keep the @envygeeks , are you okay with this suggestion? Or maybe you can propose a name better than |
IMO merge it with |
@envygeeks thanks! I'll update my pr later. @rogerjohansson This issue can be resolved once my pr is merged into master and Jekyll release 3.0.1 (I suppose). Before that, you can use a tiny plugin jekyll-post-unslugify I just wrote to workaround, then you can have your title back. |
@rebornix Thanks! Your plugin seems to work as advertised :-). |
I find we have defined Pretty mode in Util.Slugify. This mode can keep characters like @envygeeks Can we use |
This issue has been automatically marked as stale because it has not been commented on for at least The resources of the Jekyll Core team are limited, and so we are asking for your help. If you can still reproduce this error on the Thank you for all your contributions. |
In 3.0.0, if a post (file) name contains underscores, they are converted to hyphens in the URL output by {{ post.url }}. This does not happen in 2.5.3. Is this an intentional change and can it be worked around? I have not been able to find anything in the documentation or existing issues.
The text was updated successfully, but these errors were encountered: