linaro-jekyll-theme 0.8.4 → 0.8.5

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: b0343970f46f38b0962bce59801842fef5071b31
4
- data.tar.gz: 2f803cbe80160a16d7e51cb74a934718b3ad41f2
3
+ metadata.gz: 55073e6130efd6ccf5c38bd5b3730b75cb79014c
4
+ data.tar.gz: 3a0bb98e89b41ba0c4c748c6e9599b0023baca78
5
5
  SHA512:
6
- metadata.gz: 958265d097d62372a2d261d4346924e67d2cb331ac4051d470f08c29fb507bbed9774150d040a0023e6d103a14a7f0443278a8468c74741b833699f5ff92db7a
7
- data.tar.gz: ab1ab73929fe23007192ee3c87d082a0c321e73f9fa4c188f91755cd96a1b78fef4c2b61394dd5dc05bc456ad04902e3f1ae50adbbd5928c517980b30219aef3
6
+ metadata.gz: 25c99c6af8b1ac6a816b2b524e35e35dea6a6392403511f8fd9641d4131e5664ede601a302a2d57080a0a806ffdc0d5cfd4a5ef648485fb0bf13ac36d4e0a0dd
7
+ data.tar.gz: 46113f0ebba231121feafbb24155365c64244d33d940078d745d38040fdb0157426bc98022ae883b09fc9bcca4642be42a54426a004bd96f164ae46660b5ff5f
data/_data/company.yml CHANGED
@@ -2,6 +2,12 @@ favicon: /assets/images/favion.png?v=2
2
2
  name: 96boards
3
3
  search-label: 96Boards
4
4
  slogan: A theme for Linaro Static Sites
5
+ # members:
6
+ # excludes:
7
+ # - /search/
8
+
9
+ # newsletter:
10
+ # enabled: true
5
11
  # mailchimp:
6
12
  # enabled: false
7
13
  # id: e3d2abc041
@@ -1,8 +1,32 @@
1
- {% if page.url == "/about/" or page.url == "/compliance/" or page.url == "/specifications/" or page.url == "/membership/" or page.url == "/news/" %}
2
- {% include _theme-includes/members.html %}
1
+ {% if site.data.company.members %}
2
+ {% assign included = true %}
3
+
4
+ {% if site.data.company.members.excludes %}
5
+ {% for excluded_page in site.data.company.members.excludes %}
6
+ {% if page.url == excluded_page %}
7
+ {% assign included = false %}
8
+ {% endif %}
9
+ {% endfor %}
10
+ {% endif %}
11
+
12
+ {% if site.data.company.members.includes %}
13
+ {% for inclued_page in site.data.company.members.includes %}
14
+ {% if page.url == included_page %}
15
+ {% assign included = true %}
16
+ {% endif %}
17
+ {% endfor %}
18
+ {% endif %}
19
+
20
+ {% if included %}
21
+ {% include _includes/_theme-includes/members.html %}
22
+ {% endif %}
3
23
  {% endif %}
4
- {% if page.url != "/search/" and site.data.company.mailchimp.enabled %}
5
- {% include _theme-includes/_third-party/mailchimp-homepage.html %}
24
+
25
+
26
+ {% if site.data.company.newsletter.enabled == true %}
27
+ {% if page.url != "/search/" %}
28
+ {% include _theme-includes/_third-party/mailchimp-homepage.html %}
29
+ {% endif %}
6
30
  {% endif %}
7
31
  </div>
8
32
  <div class="row">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby