Skip to content

Commit

Permalink
Cosmetic changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdisadeghi authored Aug 29, 2017
1 parent e248673 commit d972e84
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ This plugin adds a new filter to Jekyll called `jdate`. Using this filter the gi

Append `gem jekyll-jalali` to the `plugins` vector (formerly know as _gems_) of your website's __config.yml_ file. You can also put the _jekyll-jalali.rb_ file inside _plugins_ directory of your website. You can install it from Rubygems too:

```gem install jekyll-jalali```
gem install jekyll-jalali

# Usage
Use it as a _Liquid_ filter inside any Jekyll template:
`{{ page.date | jdate: "%A %d %b %Y"}}`

{{ page.date | jdate: "%A %d %b %Y"}}

*jdate* accepts valid formatting parameters according to *jalalidate* Ruby gem.

# Credits
This plugin uses [`jalalidate`]([https://github.com/aziz/jalalidate](https://github.com/aziz/jalalidate) gem for date conversion.
This plugin uses [`jalalidate`](https://github.com/aziz/jalalidate) gem for date conversion.

# License
MIT
MIT

0 comments on commit d972e84

Please sign in to comment.