File tree Expand file tree Collapse file tree 2 files changed +28
-10
lines changed
Expand file tree Collapse file tree 2 files changed +28
-10
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,24 @@ A Jekyll plugin that generates _pseudo-random_ data. Very useful when you want t
99
1010## Installation
1111
12- Simply download the ` random.rb ` file and place it in the ` _plugins ` directory of your Jekyll site.
12+ 1 . Add the following to your site's ` Gemfile ` :
13+
14+ ``` ruby
15+ gem ' jekyll-random'
16+ ```
17+
18+ 2 . Add the following to your site's ` _config.yml ` :
19+
20+ ``` yml
21+ plugins :
22+ - jekyll-random
23+ ` ` `
24+
25+ If you are using a Jekyll version less than ` 3.5.0`, use the `gems` key instead of `plugins`.
26+
27+ # ## Manual installation
28+
29+ Simply download the `lib/jekyll-random.rb` file and place it in the `_plugins` directory of your Jekyll site.
1330
1431
1532# # Usage
Original file line number Diff line number Diff line change 11Gem ::Specification . new do |s |
2- s . name = "jekyll-random"
3- s . version = "0.0.2 "
4- s . licenses = [ 'MIT' ]
5- s . summary = "A Jekyll plugin that generates pseudo-random data"
6- s . description = "A Jekyll plugin that generates pseudo-random data. Very useful when you want to generate a large amount of random data."
7- s . authors = [ "Paweł Kuna" ]
8- 2+ s . name = "jekyll-random"
3+ s . version = "0.0.3 "
4+ s . licenses = [ 'MIT' ]
5+ s . summary = "A Jekyll plugin that generates pseudo-random data"
6+ s . description = "A Jekyll plugin that generates pseudo-random data. Very useful when you want to generate a large amount of random data."
7+ s . authors = [ "Paweł Kuna" ]
8+ 99 s . files = [
1010 "lib/jekyll-random.rb"
1111 ]
12- s . homepage = 'https://github.com/codecalm/jekyll-random'
13- s . metadata = { "source_code_uri" => "https://github.com/codecalm/jekyll-random" }
12+ s . require_paths = [ 'lib' ]
13+ s . homepage = 'https://github.com/codecalm/jekyll-random'
14+ s . metadata = { "source_code_uri" => "https://github.com/codecalm/jekyll-random" }
1415
1516 s . add_dependency "jekyll" , "~> 3.3"
1617end
You can’t perform that action at this time.
0 commit comments