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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -1
- data/lib/middleman-meta-tags/helpers.rb +2 -2
- data/lib/middleman-meta-tags/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: 02c4fc53127527072b750dfd8ea5d13f12f83aaf
|
4
|
+
data.tar.gz: 4e2ec0e3cf1432a0e6d40ba84002366be81a9c22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee0b14cf4b004632fcb1f73639c88d16c80ba807a187a54c1938a83e88de77a0ba35d2d91ad1e83cf8520ec24bed0eb86684bb9ea13b6ed629c01f4068d30bc3
|
7
|
+
data.tar.gz: a3b39a7e54eb727b8a9ae1d0fa9cea26bf4c8ffe6a0efb726e5e8d333b7df0b8f989f092e5a36cc6da7126e4be195b4edb95735cf7b14d1fee4dfdd64c85830b
|
data/CHANGELOG.md
CHANGED
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 `
|
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['
|
55
|
-
set_meta_tags 'og:site_name' => site_data['
|
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')
|
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.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:
|
11
|
+
date: 2015-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|