middleman-metaman 0.1.9 → 0.1.10

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
  SHA256:
3
- metadata.gz: dc5c900c521d24df139edb34f4b16277a6b541e87f0c603399ba080b08c44b25
4
- data.tar.gz: 86b4ba2b0971d4afc1b04cc0114049fab15189dd8c022cb45c80dd04301cf4ab
3
+ metadata.gz: 584a64997239aa134248a11be569a99922ecddff2f2357f7a90c32fa15b187e0
4
+ data.tar.gz: 15dff4904e02433316af39210b46c78cca3971f20eaaecee51f7b177b42fe25e
5
5
  SHA512:
6
- metadata.gz: 3ba8940529a00373d1c29494d84a4c2ca109c4654a6f839f2c1734af181ccec904dad3f82dcbd2f026a5e07f9703f73e6d6bf8335b5e8f442d1c88f6a8eaeb20
7
- data.tar.gz: e315e1168da72d47d79c7199bc108e51c1124ba4cdb102ad308123c8a43e8c13b044d8162daba46296b6e7940b49990c8bbc1654791895c487ea6cd5cb9fd43e
6
+ metadata.gz: 4e4779b88e4b49af053f4fb5e1058016f7a47fbe4838367985498aef8e9833225d926e93b2e4e0d2099b0e9fda515cea2ef7e513d21c312eebddeb0c69d76c85
7
+ data.tar.gz: f7f285b2fb8d1d7abf5b68ac443638ce6677cbc80bd8db39903495195c57106ed8028baa804e8a536deb664491bbd8e956032af2034c7298dc7c796fefede4a3
data/README.md CHANGED
@@ -50,7 +50,7 @@ Nested parameters like `{ og: { title: 'My Title' } }` will become `og:title`.
50
50
  ### Setting via Templates
51
51
 
52
52
  ```erb
53
- <% set_page_meta(title: 'My Title', og: { image: 'meta-image.png' } )
53
+ <% set_meta_tags(title: 'My Title', og: { image: 'meta-image.png' } )
54
54
  ```
55
55
 
56
56
  ### Setting via Front Matter
@@ -37,7 +37,9 @@ module Middleman
37
37
  @meta_tags[:title] = full_title(@meta_tags[:title])
38
38
  html.push content_tag(:title, @meta_tags[:title])
39
39
  if @meta_tags[:canonical]
40
- html.push tag(:link, rel: 'canonical', href: current_page.url)
40
+ html.push(
41
+ tag(:link, rel: 'canonical', href: "#{host}#{current_page.url}")
42
+ )
41
43
  end
42
44
 
43
45
 
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Metaman
3
- VERSION = '0.1.9'.freeze
3
+ VERSION = '0.1.10'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-metaman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarrett Lusso
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-11 00:00:00.000000000 Z
11
+ date: 2021-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -48,7 +48,7 @@ homepage: https://github.com/cacheventures/middleman-metaman
48
48
  licenses:
49
49
  - MIT
50
50
  metadata: {}
51
- post_install_message:
51
+ post_install_message:
52
52
  rdoc_options: []
53
53
  require_paths:
54
54
  - lib
@@ -63,8 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.0.3
67
- signing_key:
66
+ rubygems_version: 3.2.15
67
+ signing_key:
68
68
  specification_version: 4
69
69
  summary: Manage your middleman meta tags.
70
70
  test_files: []