jekyll-theme-consulting 0.1.3 → 0.1.4

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: eec228ca185370d3a9c298a77fd8d2c5dd50eae2
4
- data.tar.gz: 13153f07ad56dda4c5b61e4407d8818ceeed02bc
3
+ metadata.gz: a71a507772e548d153239e1dc570c8776826f93b
4
+ data.tar.gz: 68cf3f70ff8cb580298822148cf09648d323028a
5
5
  SHA512:
6
- metadata.gz: a4e11cc24a63503977fb8cb425f9255e8aa8fb33253fe46e7181e2bc60089a96f704ada9311d62c48324b3a5d59ec07fb1b4b409e1e2b481dc353c49dd21eab0
7
- data.tar.gz: 6dbfb2a655070ed7230cae1c264e2f97024238dd494cd08434e153908e5673a2ea0c106cf27f1a07b0173078a8b6d932f63b76e1df525924ab387ec0a844ea45
6
+ metadata.gz: b4d9e9087d391ee370a792c59a2e176996d4c5abac60b35a54ba644810b8ffcc5da12e583ddc1d3a2de8b49d31302df385580a2741281c44ccbf3e276719fc8a
7
+ data.tar.gz: 46aa4d8b48a79c9917772c4fe5a9ed51c1795f29a8a2b20e9579d8393fe29fc2d0c8ddfb00e7afcd2bb5d4b3c79c1051ade723f0d0bdf222ff125a3591924062
@@ -1,13 +1,15 @@
1
1
  {% assign collection = site.collections | where: "label", page.collection | first %}
2
+ {% assign lang = page.lang | default: site.lang | default: 'en' %}
2
3
 
3
- {% assign menu = collection.menu | default: site.menu %}
4
+ {% assign menus = collection.menu | default: site.data.translations.menu %}
5
+ {% assign menu = menus[lang] %}
4
6
 
5
7
  {% assign title = collection.title | default: site.title | default: page.title %}
6
8
  {% assign subtitle = collection.subtitle | default: site.subtitle | default: page.subtitle %}
7
9
  {% assign description = collection.description | default: site.description | default: page.description %}
8
10
 
9
11
  <!DOCTYPE html>
10
- <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
12
+ <html lang="{{ lang }}">
11
13
 
12
14
  {% include head.html title=title subtitle=subtitle %}
13
15
 
@@ -1,8 +1,11 @@
1
1
  {% assign collection = site.collections | where: "label", page.collection | first %}
2
- {% assign menu = collection.menu | default: site.menu %}
2
+ {% assign lang = page.lang | default: site.lang | default: 'en' %}
3
+
4
+ {% assign menus = collection.menu | default: site.data.translations.menu %}
5
+ {% assign menu = menus[lang] %}
3
6
 
4
7
  <!DOCTYPE html>
5
- <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
8
+ <html lang="{{ lang }}">
6
9
 
7
10
  {% include head.html %}
8
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Mougeolle