jekyll-polyglot 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1df6aaf664d7ec8f17ca2da2ae38232e4fe95fac
4
- data.tar.gz: 223f820553ee68db46b6ef433d9c8298af737198
3
+ metadata.gz: 2ef2e09c9f5884d0093bef2c8d97b756297a4842
4
+ data.tar.gz: 7813f910f0ac8679f1c64e6b3c65130d8a9a9beb
5
5
  SHA512:
6
- metadata.gz: 617ed0583476e45cfd8ec9c41c745e2e02eaf8a52b760a767c5081c51d0d184254d6546ad585659b18c43dbdfa6a826758566f5ae7767b4472e924091494b933
7
- data.tar.gz: 0ff23c46c41468bddd13a7b91622622aa47bb758f9ca07ed25763e8f4f852b8c7524823ed0dc5ba34d5b4089ce2dfa504f6fc8a70f832e0a352e155db81edd8c
6
+ metadata.gz: a828887248c4bd3673429193223ac91ccdb046cd0369df470ba1a973382e88a9e9a98a53407bc67a6ac8975719a0a4bc1eb85df84a4bc94ba8c6a3cd78adfe57
7
+ data.tar.gz: 9195927833fd833472aaa04671ad48ee812d2e8febb27e421deddd87a8a19c9cd9d93657df95a5259fcf6df657d8cc17ad620ce02264fa3fe6a1990436b64de4
data/README.md CHANGED
@@ -150,12 +150,9 @@ This plugin stands out from other I18n Jekyll plugins.
150
150
  ## SEO Recipes
151
151
  Jekyll-polyglot has a few spectacular [Search Engine Optimization techniques](https://untra.github.io/polyglot/seo) to ensure your Jekyll blog gets the most out of it's multilingual audience. Check them out!
152
152
 
153
- ## Examples
154
- Check out the example project website [here](https://untra.github.io/polyglot)
155
- (Jekyll resources are on the project's [site](https://github.com/untra/polyglot/tree/master/site) directory)
156
-
157
153
  ### Other Websites Built with Polyglot
158
154
  let us know if you make a multilingual blog you want to share:
155
+ * [Polyglot example project website](http://polyglot.untra.io)
159
156
  * [LogRhythm Corporate Website](http://logrhythm.com)
160
157
  * [All Over Earth](https://allover.earth/)
161
158
 
@@ -14,11 +14,11 @@ module Jekyll
14
14
  permalink = context.registers[:page]['permalink']
15
15
  site_url = @url.empty? ? site.config['url'] : @url
16
16
  i18n = "<meta http-equiv=\"Content-Language\" content=\"#{site.active_lang}\">\n"
17
- i18n += "<link rel=\"alternate\" i18n=\"#{site.default_lang}\" "\
17
+ i18n += "<link rel=\"alternate\" hreflang=\"#{site.default_lang}\" "\
18
18
  "href=\" #{site_url}#{permalink}\"/>\n"
19
19
  site.languages.each do |lang|
20
20
  next if lang == site.default_lang
21
- i18n += "<link rel=\"alternate\" i18n=\"#{lang}\" "\
21
+ i18n += "<link rel=\"alternate\" hreflang=\"#{lang}\" "\
22
22
  "href=\"#{site_url}/#{lang}#{permalink}\"/>\n"
23
23
  end
24
24
  i18n
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Polyglot
3
- VERSION = '1.3.0'.freeze
3
+ VERSION = '1.3.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-polyglot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Volin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-23 00:00:00.000000000 Z
11
+ date: 2017-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll