jekyll-theme-consulting 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/sitemap.xml +21 -0
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7d07c3882397d91631cdfa6df6e0ce5238342fa
4
- data.tar.gz: a0467718ab2ebe4166c30f359abaa3fcd2b44a28
3
+ metadata.gz: 6f70972e96cc898d2bda64fc41c38614538a6d83
4
+ data.tar.gz: cc09bd8ae31ef233a5c1a47a8b9fe4ad13017273
5
5
  SHA512:
6
- metadata.gz: 98d105a88a779f09ef9f3ee085a3d1b3c4968c7c3139641b0ebac4befc1ee340cd5fec7bb5668cf66595c6c8b0d32d72ef67ee948b036c4142210c8afa4ca269
7
- data.tar.gz: bf1bffd8dd309b08a24dc53d9b2a65754c09d220b4049e7a219fe91ba09254daf89d4939d3e032968cc487930c39b63beb01e0c8a83c263ed5f353cc7936d31b
6
+ metadata.gz: a42ce18d30b0b8fe21992a5f1111784e1cdb9f51759e24dc1cbf30f86da76251514b502f57680d6045369cd29b9843647b36e593210f98187c590a30f9486f38
7
+ data.tar.gz: d664ff406195b0cba74ca774399957e5455377843e3086479db997744eae8b2f573f8ec6ac51add060db7cf0f1dd2ad01217f742d57f2e2202c4fa60cd46a3cd
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: sitemap
3
+ permalink: /sitemap.xml
4
+ ---
5
+ {% assign posts=site.posts | sort: 'lang' %}
6
+ {% assign pages=site.html_pages | sort: 'lang' | concat: posts %}
7
+ <?xml version="1.0" encoding="UTF-8"?>
8
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
9
+ {% for page in pages %}
10
+ {% assign versions=pages | where:"lang-ref", page.lang-ref %}
11
+ {% if page.id contains "404" %}{% else %}
12
+ <url>
13
+ <loc>{{ page.url | absolute_url}}</loc>
14
+ {% for version in versions %}
15
+ <xhtml:link rel="alternate" hreflang="{{ version.lang }}" href="{{ version.url | absolute_url }}" />
16
+ {% endfor %}
17
+ <changefreq>weekly</changefreq>
18
+ </url>
19
+ {% endif %}
20
+ {% endfor %}
21
+ </urlset>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Mougeolle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-19 00:00:00.000000000 Z
11
+ date: 2019-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -79,6 +79,7 @@ files:
79
79
  - _layouts/page.html
80
80
  - _layouts/post.html
81
81
  - _layouts/redirect.html
82
+ - _layouts/sitemap.xml
82
83
  - _sass/base/_page.scss
83
84
  - _sass/base/_typography.scss
84
85
  - _sass/components/_box.scss