Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

README.md

jekyll-post-unslugify

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 Cased-Title.md or 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.

Installation

Add this line to your application's Gemfile:

gem 'jekyll-post-unslugify'

And then execute:

$ bundle

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/'

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A plugin to keep post title unslugified in Jekyll 3.0.0

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.