jekyll-theme-consulting 0.1.5 → 0.1.6

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: 0ff445338309e4bac39afe2050c37cb25c126ad7
4
- data.tar.gz: cc3b04db93e2ce594e92b9b8bec99f9f651fa12b
3
+ metadata.gz: 0ceb8e293440ef5d3a9dddefc6343274e5a5b4d0
4
+ data.tar.gz: f1be4ade52018b9db877347dabb2d4e86ae954fc
5
5
  SHA512:
6
- metadata.gz: 713f977e5817e76bbb0c7c0ad66d447a4fa89f538ef49b0ee439871ff572929bbfc212c0297f61c84b09a8518bf97c19cf7619e9b72813beb640922cf357df9d
7
- data.tar.gz: f67b7cfe28fef44f417cf0bdcd4c245161c77a0d578d1130ba836e2b3f61a58143cd4bdea8fcaec8b14af9fdb737aadfe95c20390040d26a3ad32bce9d07818b
6
+ metadata.gz: 6a3c7da1976d8c78fb799cefc9eb5111efa23bb045bb6a12415c8b43681e4744d2252451ce48988910e9cbe2f7ef728ef89317559b551cbd80211e67301fa311
7
+ data.tar.gz: ac5a87df4738c3f3905d1109f09cb526e0a3f580a28477ebbf144a30dca33447de89b46d28f2563c4f82841bf69b1d1e4a2c909221c8734e1c9579aed7526e2e
@@ -1,12 +1,10 @@
1
- {% assign collection = site.collections | where: "label", page.collection | first %}
2
1
  {% assign lang = page.lang | default: site.lang | default: 'en' %}
3
2
 
4
- {% assign menus = collection.menu | default: site.data.translations.menu %}
5
- {% assign menu = menus[lang] %}
3
+ {% assign menu = site.data.translations.menu[page.menu][lang] %}
6
4
 
7
- {% assign title = collection.title | default: site.title | default: page.title %}
8
- {% assign subtitle = collection.subtitle | default: site.subtitle | default: page.subtitle %}
9
- {% assign description = collection.description | default: site.description | default: page.description %}
5
+ {% assign title = page.title | default: site.title %}
6
+ {% assign subtitle = page.subtitle | default: site.subtitle %}
7
+ {% assign description = page.description | default: site.description %}
10
8
 
11
9
  <!DOCTYPE html>
12
10
  <html lang="{{ lang }}">
@@ -1,8 +1,5 @@
1
- {% assign collection = site.collections | where: "label", page.collection | first %}
2
1
  {% 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] %}
2
+ {% assign menu = site.data.translations.menu[page.menu][lang] %}
6
3
 
7
4
  <!DOCTYPE html>
8
5
  <html lang="{{ lang }}">
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Mougeolle