middleman-meta-tags 0.1.0 → 0.1.1

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: 1ba5d77a153f07db5c3cc2b71e92892bf08685da
4
- data.tar.gz: f6af45ab5fc6926f56e0c6bcce01743feabe32c9
3
+ metadata.gz: 02c4fc53127527072b750dfd8ea5d13f12f83aaf
4
+ data.tar.gz: 4e2ec0e3cf1432a0e6d40ba84002366be81a9c22
5
5
  SHA512:
6
- metadata.gz: 5a2891c2190cb3873bb35372d1759739030f1b3a06ab5edaac8e3ded4ee6a9f5e8649ccb2141b1ed9a6eb2d69121276495ae6d6f1283dc03de193b40ce694798
7
- data.tar.gz: d431b43e52f9482f50918a863dba273f83cf98f5019a2bd9197c5c02b971a48fbc7baf0ce6c27f6570cbe7d5cf0cbcde67c4156c4745bd4c984c5345f091f280
6
+ metadata.gz: ee0b14cf4b004632fcb1f73639c88d16c80ba807a187a54c1938a83e88de77a0ba35d2d91ad1e83cf8520ec24bed0eb86684bb9ea13b6ed629c01f4068d30bc3
7
+ data.tar.gz: a3b39a7e54eb727b8a9ae1d0fa9cea26bf4c8ffe6a0efb726e5e8d333b7df0b8f989f092e5a36cc6da7126e4be195b4edb95735cf7b14d1fee4dfdd64c85830b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Next release
2
2
 
3
+ ## 0.1.1 (01/09/15)
4
+
5
+ * Fix `site` key which was unavailable
6
+
3
7
  ## 0.1.0 (12/24/14)
4
8
 
5
9
  * Update README
data/README.md CHANGED
@@ -72,6 +72,7 @@ auto_display_meta_tags
72
72
  This will look inside of `data/site.yml` file to find any site wide defaults.
73
73
  Then it looks the page meta data to attempt to display the following keys:
74
74
 
75
+ - MM `site` => META `title`
75
76
  - MM `title` => META `title`
76
77
  - MM `description` => META `description`
77
78
  - MM `twitter_card` (defaults to `summary_large_image`) => META `twitter:card`
@@ -82,7 +83,7 @@ Then it looks the page meta data to attempt to display the following keys:
82
83
  - MM `title` => META `twitter:title`
83
84
  - MM `description` => META `og:description`
84
85
  - MM `pull_image` => META `og:image`
85
- - MM `title` => META `og:site_name`
86
+ - MM `site` => META `og:site_name`
86
87
  - MM `title` => META `og:title`
87
88
 
88
89
  ### Manually adding addition tags
@@ -51,8 +51,8 @@ module Middleman
51
51
  def auto_tag
52
52
  site_data = data['site'] || {}
53
53
 
54
- set_meta_tags site: site_data['title']
55
- set_meta_tags 'og:site_name' => site_data['title']
54
+ set_meta_tags site: site_data['site']
55
+ set_meta_tags 'og:site_name' => site_data['site']
56
56
 
57
57
  fall_through(site_data, :title, 'title')
58
58
  fall_through(site_data, :description, 'description')
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module MetaTags
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Baptiste Lecocq
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-24 00:00:00.000000000 Z
11
+ date: 2015-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core