linaro-jekyll-theme 0.10.47 → 0.10.48

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: 5698b595c80cc129456c3d1d73bb8d0fb5939882
4
- data.tar.gz: d553ce41d943b754f0ab8ca711933691197b7a49
3
+ metadata.gz: e0b8448151b337054735cfca7187ebab598b2343
4
+ data.tar.gz: 4d3c03b59fab3e098b40646464c665dc9c8df9ad
5
5
  SHA512:
6
- metadata.gz: 869d11f1fae89cccfeb8e0eeb8acc07efdfdbaf361a5cb90cf70c494f8c83afdcabd4aae002d85a8f9ddcce0037b0b73a4f10362ed6436e29000aad66c324c5d
7
- data.tar.gz: 732628c88251c40c64a4589bd5b7bd706fc0e108984cb95c153d4cc028d94b4c703b0bcbc717f8073423f45718044381efef116cad7a56c38434c801b7bd81f7
6
+ metadata.gz: 3929b390638e310f6ad048df2a6be7b615a8c4f4bde6c3e8802fab3472fc284da5e1fd690b1b88c5b08bbc1cb612443e49792eef863beea8775fbe2ddb2bfb92
7
+ data.tar.gz: 06563e48cf6adde031addd8d63e8c9c898d1952106e6a783e3dac40d93fef15b36ce14341cb8ed9b1cd15fb3c8fb151b252eb3d171cc6ee1b3d5c63945fdc83d
@@ -23,32 +23,38 @@
23
23
  </a>
24
24
  <meta itemprop="position" content="1" />
25
25
  </li>
26
- {% assign page-url = page.url | split: "/" %}
26
+ {{% assign page-url = page.url | split: "/" %}
27
27
  {% assign iterator = 2 %}
28
28
  {% assign breadcrumb-path = "/" %}
29
29
  {% for section in page-url %}
30
- {% if section == "" or section == "index.html"%}
31
- {% continue %}
32
- {% elsif section == "product" %}
33
- {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
34
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
35
- <a itemprop="item" href="/products/">
36
- <span itemprop="name">{{section | truncate: 20 | capitalize }}s</span>
37
- </a>
38
- <meta itemprop="position" content="{{iterator}}" />
39
- </li>
40
- {% else %}
41
- {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
42
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
43
- <a itemprop="item" href="{{breadcrumb-path}}">
44
- <span itemprop="name">{{section | truncate: 20 | capitalize }}</span>
45
- </a>
46
- <meta itemprop="position" content="{{iterator}}" />
47
- </li>
48
- {% endif %}
30
+ {% if forloop.last == false %}
31
+ {% if section == "" or section == "index.html" %}
32
+ {% continue %}
33
+ {% elsif section == "product" %}
34
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
35
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
36
+ <a itemprop="item" href="/products/">
37
+ <span itemprop="name">{{section | truncate: 20 | capitalize }}s</span>
38
+ </a>
39
+ <meta itemprop="position" content="{{iterator}}" />
40
+ </li>
41
+ {% else %}
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 | truncate: 20 | capitalize }}</span>
46
+ </a>
47
+ <meta itemprop="position" content="{{iterator}}" />
48
+ </li>
49
+ {% endif %}
50
+ {% else %}
51
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" class="active">
52
+ <span itemprop="name">{% if page.title %}{{page.title}}{% else %}{{ page.title }}{% endif %}</span>
53
+ <meta itemprop="position" content="{{iterator}}" />
54
+ </li>
55
+ {% endif %}
49
56
  {% assign iterator = iterator + 1 %}
50
57
  {% endfor %}
51
- {% assign iterator = iterator + 1%}
52
58
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" class="active">
53
59
  <span itemprop="name">{% if page.title %}{{page.title}}{% else %}{{ page.title }}{% endif %}</span>
54
60
  <meta itemprop="position" content="{{iterator}}" />
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.47
4
+ version: 0.10.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby