linaro-jekyll-theme 0.10.47 → 0.10.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/_theme-includes/_page-structure/breadcrumb.html +27 -21
- 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: e0b8448151b337054735cfca7187ebab598b2343
|
4
|
+
data.tar.gz: 4d3c03b59fab3e098b40646464c665dc9c8df9ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
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}}" />
|