octopress-linkblog 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +3 -3
- data/lib/octopress-linkblog.rb +2 -1
- data/lib/octopress-linkblog/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e41318fd75019724cd086ead1449567e77230b09
|
4
|
+
data.tar.gz: f05a9fa475ca8533ada79fb58cdecdb03d09a271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b12de52f59bb2d96532b43c0cb26f659fc05d7c4c7a8e98bd197a1041fd895544270feed70c7c9f72f2ae3522306925bbd7afe88df41ed25a3af6579a61a3ba5
|
7
|
+
data.tar.gz: 4b189dae34512926036c115e6b544647708bac6c07c32f84c265fe079d1cadfca62c6ff8c6182ac905a00a484a69dddbf52c1154be5324c5f7f0c1c10209854e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -27,7 +27,7 @@ Then install the gem with Bundler
|
|
27
27
|
Then add the gem to your Jekyll configuration.
|
28
28
|
|
29
29
|
gems:
|
30
|
-
-octopress-linkblog
|
30
|
+
- octopress-linkblog
|
31
31
|
|
32
32
|
## Usage
|
33
33
|
|
@@ -48,7 +48,7 @@ Here is an example. Given the following YAML front-matter:
|
|
48
48
|
```
|
49
49
|
---
|
50
50
|
title: cats are awesome
|
51
|
-
|
51
|
+
external_url: http://cats.example.com
|
52
52
|
---
|
53
53
|
```
|
54
54
|
|
@@ -72,7 +72,7 @@ Note: the `<a>` in this demo has been shortened, but it will contain the `title_
|
|
72
72
|
In addition, the site payload will have two new post arrays:
|
73
73
|
|
74
74
|
- `site.articles` - Will contain standard posts only.
|
75
|
-
- `site.linkposts` - Will contain only posts with an `
|
75
|
+
- `site.linkposts` - Will contain only posts with an `external_url`
|
76
76
|
|
77
77
|
This may have many uses, but one in particular is the option to allow RSS feeds for each type
|
78
78
|
of post.
|
data/lib/octopress-linkblog.rb
CHANGED
@@ -37,7 +37,8 @@ module Octopress
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def add_post_vars(post)
|
40
|
-
|
40
|
+
# Grab external url from post data, reading dashed value for legacy pattern support
|
41
|
+
linkpost = post.data['external_url'] || post.data['external-url']
|
41
42
|
|
42
43
|
post.data['title'].titlecase! if Linkblog.config['titlecase']
|
43
44
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-linkblog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octopress-hooks
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.
|
130
|
+
rubygems_version: 2.4.6
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Add linkblog features to your Jekyll site.
|