jekyll-bits 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f53a53276bcd63614b03be6fdc26d8c3391849c0
4
- data.tar.gz: 5a1d1c7944e8c534fd5cd07f8fb27def67ca0088
3
+ metadata.gz: 36015cbd391f9c48e69895f3b1a90ca7da5d0b7e
4
+ data.tar.gz: f778786cac4e8a8db6dd75c0431f4656c93adaca
5
5
  SHA512:
6
- metadata.gz: 9b61d7c6a2e35535ecef635dea76a14488f687a13f7743fd02e0aef8512def0dcd40ed222ddeaf92b479fe6022dfd762cf73d748b48ef636fd43749ba1c172f6
7
- data.tar.gz: 6b9aa1b7cebe2c799dbe7ca63a8e0e2dbbec8460ca63d2d7e2b887d6ba2f2049a03d7c3edffa8e041873660c51a42a28997180c8b85827fd2f541b8844dc4a60
6
+ metadata.gz: d0a99a31e2ddc46b5dae9f807d5894b48dc4f09679fe7d5354acb0a67f1e7c38a349213b07ffd19fe35646fffa1addefdeb42e4aaa29cd9bf341e0983605b309
7
+ data.tar.gz: 89bf7a6b8f0a965a6dc4f4e9f932743c62523f0ddd46067c73bd930d21f4a99083b88456cc1332a5fdb0a8c0f2c8fb59d22e3c4c64e1a59373cd42dcbaa8b9de
data/jekyll-bits.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.rubygems_version = '2.2.2'
9
9
  s.required_ruby_version = '>= 1.9.3'
10
10
  s.name = 'jekyll-bits'
11
- s.version = '0.7'
11
+ s.version = '0.8'
12
12
  s.license = 'MIT'
13
13
  s.summary = 'Jekyll Bits'
14
14
  s.description = 'Useful and very simple Jekyll plugins'
@@ -32,7 +32,8 @@ module Jekyll
32
32
  def jb_picture_head(page)
33
33
  uri = uri(page)
34
34
  return '' if uri.empty?
35
- "<meta property='og:image' content='#{CGI.escapeElement(uri)}'/>"
35
+ "<meta name='og:image' content='#{CGI.escapeElement(uri)}'/>\
36
+ <meta name='twitter:image' content='#{CGI.escapeElement(uri)}'/>"
36
37
  end
37
38
 
38
39
  def jb_picture_body(page)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-bits
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll