middleman-ogp 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +1 -1
- data/lib/middleman-ogp/extension.rb +1 -1
- data/lib/middleman-ogp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f7a5f4b243909d06f5f4f61011e561be8c440ad
|
4
|
+
data.tar.gz: f8bb1f3431ea81b651eb58ed7fa58069520ca22a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffae72c9b95445b0660f70ab2160c22584e450ab05fb2fc1651210f7e8c25f87dfe1fee352c489947055da2e3d04e17c636e5f1b60fec94508972988da38f637
|
7
|
+
data.tar.gz: dbeac35022a41b1dda2dd9f35ac396c85f358a95aa2dd00b163cdba268612e88a6c49c8a7cb2f6fa0b3d9b7a87c7029abfaf7456c8177a0a762dff6b867f51ce
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Middleman-OGP
|
2
2
|
=============
|
3
3
|
|
4
|
-
`middleman-
|
4
|
+
`middleman-ogp` is an extension for the [Middleman] static site generator that adds OpenGraph Protocol support.
|
5
5
|
|
6
6
|
|
7
7
|
Configuration
|
@@ -15,7 +15,7 @@ module Middleman
|
|
15
15
|
|
16
16
|
helpers do
|
17
17
|
def ogp_tags(&block)
|
18
|
-
opts = data
|
18
|
+
opts = current_resource.data['ogp'] || {}
|
19
19
|
is_blog_article = Middleman::OGP::Helper.blog && respond_to?(:is_blog_article?) && is_blog_article?
|
20
20
|
if is_blog_article
|
21
21
|
opts.deep_merge4!({
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-ogp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Atsushi Nagase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|