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 +4 -4
- data/_layouts/default.html +4 -2
- data/_layouts/landing.html +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a71a507772e548d153239e1dc570c8776826f93b
|
4
|
+
data.tar.gz: 68cf3f70ff8cb580298822148cf09648d323028a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4d9e9087d391ee370a792c59a2e176996d4c5abac60b35a54ba644810b8ffcc5da12e583ddc1d3a2de8b49d31302df385580a2741281c44ccbf3e276719fc8a
|
7
|
+
data.tar.gz: 46aa4d8b48a79c9917772c4fe5a9ed51c1795f29a8a2b20e9579d8393fe29fc2d0c8ddfb00e7afcd2bb5d4b3c79c1051ade723f0d0bdf222ff125a3591924062
|
data/_layouts/default.html
CHANGED
@@ -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
|
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="{{
|
12
|
+
<html lang="{{ lang }}">
|
11
13
|
|
12
14
|
{% include head.html title=title subtitle=subtitle %}
|
13
15
|
|
data/_layouts/landing.html
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
{% assign collection = site.collections | where: "label", page.collection | first %}
|
2
|
-
{% assign
|
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="{{
|
8
|
+
<html lang="{{ lang }}">
|
6
9
|
|
7
10
|
{% include head.html %}
|
8
11
|
|