middleman-meta-tags 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/middleman-meta-tags/helpers.rb +5 -1
- data/lib/middleman-meta-tags/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: 82257b5fe8995b6feda0362ca1f3fac4bb75a8ad
|
4
|
+
data.tar.gz: 4e6b757305bb3d46d9a7020a5855889928424a0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05f1ea4d02707b13e5869d6084adc087bb752cb6b6462e35b2a76599fedd1329bd27e57d2e220765c6c952a5645713cf92a73a71cd1af9085dd95513aa3a2c7c
|
7
|
+
data.tar.gz: 7726c4f903c1b6a3216587d100e14b72dbd721aeb9d47762d394cf1cf7c650ff5cde952184ad75c42edb1488022bf487b6dff4eb7d9345c6483c558e427704f3
|
data/CHANGELOG.md
CHANGED
@@ -37,7 +37,11 @@ module Middleman
|
|
37
37
|
result << tag(:meta, name: :keywords, content: keywords) unless keywords.blank?
|
38
38
|
|
39
39
|
meta_tags.each do |name, content|
|
40
|
-
|
40
|
+
if name.start_with?('og:')
|
41
|
+
result << tag(:meta, property: name, content: content ) unless content.blank?
|
42
|
+
else
|
43
|
+
result << tag(:meta, name: name, content: content ) unless content.blank?
|
44
|
+
end
|
41
45
|
end
|
42
46
|
|
43
47
|
result = result.join("\n")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-meta-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Baptiste Lecocq
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.4.1
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Meta tags for Middleman
|