A plugin to keep post title unslugified in Jekyll 3.0 and above. Ruby gems homepage.
Since Jekyll starts to slugify title of posts, any character except numbers and letters will be replaced as
-. If you name your posts as
underscore_hyphen.md or any string containing special characters, the link of related post will change after you upgrade Jekyll from 2.x to 3. This plugin aims to help you out.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install jekyll-post-unslugify
Then update the
_config.yml of your jekyll project
#jekyll plugin section gems: - jekyll-post-unslugify permalink: '/:categories/:year/:month/:day/:unslugified_title/'
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request