File tree 2 files changed +28
-10
lines changed
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
9
9
10
10
## Installation
11
11
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.
13
30
14
31
15
32
# # Usage
Original file line number Diff line number Diff line change 1
1
Gem ::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
+
9
9
s . files = [
10
10
"lib/jekyll-random.rb"
11
11
]
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" }
14
15
15
16
s . add_dependency "jekyll" , "~> 3.3"
16
17
end
You can’t perform that action at this time.
0 commit comments