linaro-jekyll-theme 0.10.50 → 0.10.51

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: 1bfe189f47630e87d75117c9c1339ce4de5cafb3
4
- data.tar.gz: 5121931e591b525a7d4201b2b9f96f694eb0eaff
3
+ metadata.gz: 1b8488d40b19c8f48950e10da518cecf4b8f28bb
4
+ data.tar.gz: 19f5d87db9e3bb59ab33313f2ec1ec478e6c45e7
5
5
  SHA512:
6
- metadata.gz: 6120feb86fde182cc2f0a7bf0d2f2e219ada9e6a4d779345c7f04b705ce76fd81ca566b8cf54eedffd8b123f6da3f4aea38187cc0a9b4cec138b197f076dd093
7
- data.tar.gz: f02189c2935f8e9456a065325753500c9d938ba506d087e44501be2ed44134ec89d07510c598105745b2c32b473e0f0a62728eb9da1a0136eb0bbd717fe3fdd6
6
+ metadata.gz: 7ddec4b1bed6b0cce0fe3631f022cee0e48d6b59ea756360d4be8fbffcc91570a9957f8edd0e8526c2ca6fa37d985f6de3ab66b4a5f00e2817fd8fd448c715e2
7
+ data.tar.gz: e02a5165d9da92d769a54ed91e355cd48f2996e70fab2d4bd931f335a8dc1c800407c90a923e0bd434cdbb5067e2f7b936bdd5f8d2209666a1e904b8ac53883e
@@ -28,7 +28,9 @@
28
28
  {% assign breadcrumb-path = "/" %}
29
29
  {% for section in page-url %}
30
30
  {% if forloop.last == false %}
31
- {% if section == "product" %}
31
+ {% if section == "" or section == "index.html" %}
32
+ {% continue %}
33
+ {% elsif section == "product" %}
32
34
  {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
33
35
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
34
36
  <a itemprop="item" href="/products/">
@@ -36,6 +38,46 @@
36
38
  </a>
37
39
  <meta itemprop="position" content="{{iterator}}" />
38
40
  </li>
41
+ {% elsif section contains ".md.html" %}
42
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}{% endcapture%}
43
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
44
+ <a itemprop="item" href="{{breadcrumb-path}}">
45
+ <span itemprop="name">{{section | replace: ".html", "" | truncate: 20 | capitalize }}</span>
46
+ </a>
47
+ <meta itemprop="position" content="{{iterator}}" />
48
+ </li>
49
+ {% elsif section == "ConsumerEdition" %}
50
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
51
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
52
+ <a itemprop="item" href="{{breadcrumb-path}}">
53
+ <span itemprop="name">Consumer Edition</span>
54
+ </a>
55
+ <meta itemprop="position" content="{{iterator}}" />
56
+ </li>
57
+ {% elsif section == "EnterpriseEdition" %}
58
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
59
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
60
+ <a itemprop="item" href="{{breadcrumb-path}}">
61
+ <span itemprop="name">Enterprise Edition</span>
62
+ </a>
63
+ <meta itemprop="position" content="{{iterator}}" />
64
+ </li>
65
+ {% elsif section == "IoTEdition" %}
66
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
67
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
68
+ <a itemprop="item" href="{{breadcrumb-path}}">
69
+ <span itemprop="name">IoT Edition</span>
70
+ </a>
71
+ <meta itemprop="position" content="{{iterator}}" />
72
+ </li>
73
+ {% elsif section == "MezzanineProducts" %}
74
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
75
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
76
+ <a itemprop="item" href="{{breadcrumb-path}}">
77
+ <span itemprop="name">Mezzanine Products</span>
78
+ </a>
79
+ <meta itemprop="position" content="{{iterator}}" />
80
+ </li>
39
81
  {% else %}
40
82
  {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
41
83
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
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.10.50
4
+ version: 0.10.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby