jekyll-tagging-related_posts 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/README.md +4 -4
- data/jekyll-tagging-related_posts.gemspec +2 -4
- data/lib/jekyll/tagging/related_posts/version.rb +1 -1
- metadata +5 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f1f4e45c248fb2a69a91c54d829d2fdce540980
|
4
|
+
data.tar.gz: c8e4c1f144d58ba34ee8dc134c54729bf490a708
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4536688752437f4a1eb131493c4db0ddfeb4535c45f5ecf9e901d819e643f791d0015a033ea988537e9b8786f91313c6536c4c432c005104876c8b6c54e4f4a0
|
7
|
+
data.tar.gz: f550ea9146e83bb23ed5ab1e7c0571aaa22dc0b43f72cc3426b0d3272a90d2929030df431d6f6e862ff580009b46a18e0f8de0d1e814fd115f26a032fc579c24
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
[![Code Climate](https://codeclimate.com/github/toshimaru/jekyll-tagging-related_posts/badges/gpa.svg)](https://codeclimate.com/github/toshimaru/jekyll-tagging-related_posts)
|
7
7
|
[![Dependency Status](https://gemnasium.com/toshimaru/jekyll-tagging-related_posts.svg)](https://gemnasium.com/toshimaru/jekyll-tagging-related_posts)
|
8
8
|
|
9
|
-
Jekyll `related_posts` function based on tags (works
|
9
|
+
Jekyll `related_posts` function based on tags (works on Jekyll3). It replaces original Jekyll's `related_posts` function to use tags to calculate relationships.
|
10
10
|
|
11
|
-
The calculation algorithm is based on [LawrenceWoodman/related\_posts-jekyll\_plugin](https://github.com/LawrenceWoodman/related_posts-jekyll_plugin).
|
11
|
+
The calculation algorithm is based on [LawrenceWoodman/related\_posts-jekyll\_plugin](https://github.com/LawrenceWoodman/related_posts-jekyll_plugin) by @LawrenceWoodman.
|
12
12
|
|
13
13
|
## Requirements
|
14
14
|
* Ruby 2.x
|
@@ -41,9 +41,9 @@ gems:
|
|
41
41
|
- jekyll-tagging-related_posts
|
42
42
|
```
|
43
43
|
|
44
|
-
Then, add `site.related_posts` in your post layout.
|
44
|
+
Then, add `site.related_posts` in your post layout page. For example:
|
45
45
|
|
46
|
-
```
|
46
|
+
```liquid
|
47
47
|
{% if site.related_posts.size >= 1 %}
|
48
48
|
<div>
|
49
49
|
<h3>Related Posts</h3>
|
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["toshimaru"]
|
10
10
|
spec.email = ["me@toshimaru.net"]
|
11
11
|
|
12
|
-
spec.summary = %q{
|
13
|
-
spec.description = %q{
|
12
|
+
spec.summary = %q{Jekyll `related_posts` function based on tags (works on Jekyll3)}
|
13
|
+
spec.description = %q{Jekyll `related_posts` function based on tags (works on Jekyll3). It replaces original Jekyll's `related_posts` function to use tags to calculate relationships.}
|
14
14
|
spec.homepage = "https://github.com/toshimaru/jekyll-tagging-related_posts"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
@@ -24,6 +24,4 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.10"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
26
|
spec.add_development_dependency "byebug"
|
27
|
-
spec.add_development_dependency "minitest"
|
28
|
-
spec.add_development_dependency "minitest-reporters"
|
29
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-tagging-related_posts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toshimaru
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -80,35 +80,8 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
|
84
|
-
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: minitest-reporters
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
description: Replaces Jekyll's related_posts function to use tags to calculate relationships
|
83
|
+
description: Jekyll `related_posts` function based on tags (works on Jekyll3). It
|
84
|
+
replaces original Jekyll's `related_posts` function to use tags to calculate relationships.
|
112
85
|
email:
|
113
86
|
- me@toshimaru.net
|
114
87
|
executables: []
|
@@ -150,5 +123,5 @@ rubyforge_project:
|
|
150
123
|
rubygems_version: 2.4.5
|
151
124
|
signing_key:
|
152
125
|
specification_version: 4
|
153
|
-
summary:
|
126
|
+
summary: Jekyll `related_posts` function based on tags (works on Jekyll3)
|
154
127
|
test_files: []
|