jumbo-jekyll-theme 2.5.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +26 -16
  3. data/_data/footer.yml +3 -1
  4. data/_data/nav.yml +1 -3
  5. data/_data/settings.yml +35 -93
  6. data/_includes/breadcrumb.html +92 -94
  7. data/_includes/carousel-header.html +15 -0
  8. data/_includes/display-blog-posts.html +9 -9
  9. data/_includes/disqus-comments.html +20 -14
  10. data/_includes/footer.html +62 -64
  11. data/_includes/jumbotron.html +30 -85
  12. data/_includes/linaro-404.html +0 -3
  13. data/_includes/nav.html +3 -3
  14. data/_includes/post-sidebar.html +6 -6
  15. data/_includes/sidebar.html +1 -1
  16. data/_includes/sticky-tab-bar.html +16 -18
  17. data/_layouts/author.html +1 -1
  18. data/_layouts/container-breadcrumb.html +16 -3
  19. data/_layouts/container.html +6 -7
  20. data/_layouts/default.html +8 -10
  21. data/_layouts/error.html +23 -0
  22. data/_layouts/jumbotron-container.html +19 -0
  23. data/_layouts/jumbotron.html +8 -0
  24. data/_layouts/post-index.html +0 -1
  25. data/_layouts/post.html +36 -122
  26. data/_sass/app/overrides.scss +9 -8
  27. data/_sass/blog.scss +1 -1
  28. data/_sass/bootstrap/_variables.scss +7 -6
  29. data/_sass/core.scss +4 -0
  30. data/_sass/core/blog.scss +6 -5
  31. data/_sass/core/breadcrumb.scss +2 -2
  32. data/_sass/core/carousel-header.scss +91 -0
  33. data/_sass/core/carousel-styles.scss +1 -0
  34. data/_sass/core/carousel.scss +0 -6
  35. data/_sass/core/cookieconsent.scss +3 -6
  36. data/_sass/core/{404.scss → error.scss} +5 -8
  37. data/_sass/core/featherlight.scss +158 -0
  38. data/_sass/core/footer.scss +19 -42
  39. data/_sass/core/homepage.scss +1 -88
  40. data/_sass/core/jumbotron.scss +58 -25
  41. data/_sass/core/nav.scss +67 -89
  42. data/_sass/core/theme.scss +10 -0
  43. data/_sass/core/universal-nav.scss +17 -10
  44. data/_sass/home.scss +0 -1
  45. data/assets/css/{main-404.scss → main-error.scss} +1 -5
  46. data/assets/images/content/background-image1.jpg +0 -0
  47. data/assets/images/content/background-image2.png +0 -0
  48. data/assets/images/content/background-image3.jpg +0 -0
  49. data/assets/js/app/facebook.js +1 -1
  50. data/assets/js/app/main.js +82 -62
  51. data/assets/js/app/search.js +29 -0
  52. data/assets/js/app/sticky-tab-bar.js +16 -17
  53. data/assets/js/package-blog.js +2 -1
  54. data/assets/js/package-extended.js +3 -1
  55. data/assets/js/package-home.js +4 -2
  56. data/assets/js/package-main.js +2 -0
  57. data/assets/js/package-search.js +2 -0
  58. data/assets/js/vendor/cookieconsent.js +0 -9
  59. data/assets/js/vendor/featherlight.js +641 -0
  60. metadata +59 -42
  61. data/_includes/post-comments.html +0 -9
  62. data/_includes/shape-divider.html +0 -12
  63. data/_includes/shape.html +0 -52
  64. data/_layouts/container-breadcrumb-left-sidebar.html +0 -10
  65. data/_layouts/container-breadcrumb-right-sidebar.html +0 -9
  66. data/_layouts/container-breadcrumb-tabs.html +0 -7
  67. data/_layouts/container-left-sidebar.html +0 -9
  68. data/_layouts/container-right-sidebar.html +0 -9
  69. data/_layouts/full-width-breadcrumb.html +0 -10
  70. data/_layouts/full-width.html +0 -9
  71. data/_layouts/home.html +0 -21
  72. data/_layouts/post-no-sidebar.html +0 -0
  73. data/_sass/app/home.scss +0 -18
  74. data/_sass/core/twitter-feed.scss +0 -414
  75. data/assets/css/main-contact.scss +0 -23
  76. data/assets/css/main-home.scss +0 -22
  77. data/assets/css/main-lightbox.scss +0 -29
  78. data/assets/images/background-image.jpg +0 -0
  79. data/assets/images/banner.jpg +0 -0
  80. data/assets/js/vendor/lightbox.js +0 -523
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebcc4397ba4bc7440532e2c75f0d0166a0ce38267820825049cde60dbde820a7
4
- data.tar.gz: 6333c3f2d4e2cfed335c41d77e56f49e1e3cc39c5be0adba2f645747e6e31ba4
3
+ metadata.gz: 7d79db82aecb153440cc0c17c108e4c9ac1ef854fbb1f3714a6eefab6b43a494
4
+ data.tar.gz: a4987993e8c4a67556dfdbfbf71dd1ab3ce723d69adbfbcde9599d1a1f2a5aee
5
5
  SHA512:
6
- metadata.gz: 98b26ef5234e835f334abdf1352cf1af7f1bf708a09a5f380b3ddddd253c7a14fea9d5ddfd25194ee27923813f1fb33fe16b4bf430d36034b038040278d31805
7
- data.tar.gz: a252cb2665b7f68897dfb2e02217f986dc73f97e1b263774c256441eb40783121a658d68569fafb48dfee797de41a4e56d8da23f471698961fbf4f83b85e2c93
6
+ metadata.gz: 9a5e21abf63b367a1a1b3aa7f2b783fda0870baebd59839f3eda221e5fbedbaaa4a1cbf608f22661e849087faf2d60c8760d809cf2795350942170a3bcfe0299
7
+ data.tar.gz: 6b08eec155e76f4bf52fe78039b57fdb85a19e84a17d42f1d28b663ce3c5ff9b9b1090e55632a6321764e324c9242bad36288142783800dd00a4d2120c4728c5
data/_config.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  # Default Title of Site
2
- title: Jumbo Jekyll Theme
2
+ title: Jumbo Jekyll
3
3
  # Description of the site used for default meta description
4
+ url: http://jumbojekyll.co.uk
4
5
  description: |-
5
6
  The Jumbo Jekyll Theme is used across all Linaro static sites.
6
7
  # Destination of the Jekyll site upon build of site.
@@ -27,25 +28,21 @@ exclude:
27
28
  - _static-site
28
29
  - .sass-cache
29
30
  - _site
30
-
31
31
  # Sass Configuration for the site styles
32
32
  sass:
33
33
  style: compressed
34
34
  load_paths:
35
35
  - assets/css
36
-
37
36
  # Compress HTML using the jekyll-tidy plugin.
38
37
  jekyll_tidy:
39
38
  # Toggle compression of HTML
40
39
  compress_html: true
41
40
  # JS Path added to exclude to stop errors.
42
41
  exclude: ["assets/**/*.js"]
43
-
44
42
  # Permalink style to be used for paginating pages in pagination.html
45
43
  paginate_path: /blog/:num/
46
44
  paginate_path_news: /news/:num/
47
45
  paginate_path_authors: /authors/:num/
48
-
49
46
  # Jekyll Pagination V2 Configuration
50
47
  pagination:
51
48
  # Default pagination path for Jekyll Posts
@@ -63,17 +60,14 @@ pagination:
63
60
  sort_reverse: true
64
61
  # Field to sort posts by when paginating
65
62
  sort_field: 'date'
66
-
67
63
  # Jekyll pagination v2 autopages configuration.
68
64
  autopages:
69
65
  enabled: false
70
-
71
- # Jekyll_get plugin configuration. This will not be needed in all jekyll sites
72
- # only those that are displaying news from the news db or listing Linaro members.
66
+ # Jekyll_get plugin configuration. This will not be needed in all jekyll sites
67
+ # only those that are displaying news from the news db or listing Linaro members.
73
68
  # jekyll_get:
74
69
  # data: members
75
70
  # json: 'https://github.com/Linaro/db'
76
-
77
71
  # Jekyll defaults - used to set default front matter values to collections and posts
78
72
  defaults:
79
73
  # Set a default Social Media Image
@@ -81,7 +75,24 @@ defaults:
81
75
  path: ""
82
76
  values:
83
77
  image: /assets/images/social-media-image.png
84
-
78
+ - scope:
79
+ type: posts
80
+ path: "_posts"
81
+ values:
82
+ layout: post
83
+ comments: true
84
+ author: kyle
85
+ categories:
86
+ - blog
87
+ tags:
88
+ - Jekyll
89
+ - Theme
90
+ - HTML
91
+ - CSS
92
+ - JS
93
+ - Web Design
94
+ - Web Development
95
+ - Static Websites
85
96
  # Jekyll Assets setup
86
97
  assets:
87
98
  # Compress JS Assets - uses the uglifier
@@ -95,12 +106,10 @@ assets:
95
106
  - assets/js/
96
107
  - assets/images/
97
108
  - assets/css/
98
-
99
109
  # Jekyll relative links plugin settings
100
110
  jekyll_relative_links:
101
111
  process_all_collections: true
102
112
  verbose: 1
103
-
104
113
  plugins:
105
114
  - jekyll-seo-tag
106
115
  - jekyll-sitemap
@@ -112,11 +121,12 @@ plugins:
112
121
  - jekyll-redirect-from
113
122
  - autoprefixer-rails
114
123
  - jekyll-paginate-v2
115
-
124
+ collections:
125
+ authors:
126
+ output: true
116
127
  # Make sure that Liquid errors stop the build
117
128
  liquid:
118
129
  error_mode: strict
119
-
120
130
  readme_index:
121
131
  enabled: true
122
- remove_originals: false
132
+ remove_originals: false
data/_data/footer.yml CHANGED
@@ -4,7 +4,9 @@
4
4
  # Optional Footer include which, when supplied, will prepend the included file
5
5
  # to the footer.html include.
6
6
  # include: members.html
7
-
7
+ # footer-image: /assets/images/Linaro-Sprinkle.png
8
+ # footer-image-url: /
9
+ company-copyright-text: Jumbo Jekyll Theme
8
10
  # Columns to be added to the footer
9
11
  columns:
10
12
  - title: CSS
data/_data/nav.yml CHANGED
@@ -2,7 +2,7 @@
2
2
  search:
3
3
  enabled: true
4
4
  label: Linaro
5
- # universal-nav: true
5
+ universal-nav: true
6
6
  # Nav Brand Config
7
7
  brand:
8
8
  text: Jumbo Jekyll Theme
@@ -16,7 +16,6 @@ pages:
16
16
  - title: Jekyll
17
17
  options:
18
18
  - text: Plugins
19
- url: /jekyll/plugins/
20
19
  options:
21
20
  - text: Jekyll Assets
22
21
  url: /jekyll/plugins/assets/
@@ -27,7 +26,6 @@ pages:
27
26
  - text: Includes
28
27
  url: /jekyll/includes/
29
28
  - text: Layouts
30
- url: /jekyll/layouts/
31
29
  options:
32
30
  - text: Default
33
31
  url: /jekyll/layouts/default/
data/_data/settings.yml CHANGED
@@ -1,93 +1,21 @@
1
1
  # Custom Favicon
2
2
  favicon: favicon.png
3
-
4
- # # Mailchimp settings
5
- # mailchimp:
6
- # enabled: true
7
- # id: af6cf590b0
8
-
3
+ # Placeholder for Missing Images
4
+ placeholder: /assets/images/placeholder.png
9
5
  # Footer Newsletter toggle.
10
6
  newsletter:
11
7
  enabled: false
12
-
13
8
  tags_enabled: true
14
-
15
- # Footer Image default is linaro sprinkle
16
- linaro-footer-image: Linaro-Sprinkle.png
17
-
18
- # # Breadcrumb Settings
19
- # breadcrumb:
20
- # image: breadcrumb-image.jpg
21
-
22
-
23
- #Content Repo for static site.
24
- # Used for the edit on github include
25
-
26
- # edit-on-github:
27
- # enabled: true
28
- # repo: https://www.github.com/Linaro/website
29
- # docs: https://www.github.com/Linaro/website
30
-
31
9
  # Settings for the home page
32
- home:
33
- #Content Background Image E.g. DeviceTree.org
34
- # content-image: background-image.png
35
- # If this is set then the navigation will be transparent.
36
- transparent-nav: true
37
- # If this is set to true then the shape divider will be displayed
38
- shaped-divider: true
39
- # Jumbotron settings for the home page
40
- jumbotron:
41
- # Include file to replace all the contents of the jumbotron with.
42
- included_file: hero-banner.html
43
- # Toggle the jumbotron
44
- enabled: true
45
- # Title for the home page jumbotron
46
- title:
47
- first-line:
48
- text: Welcome to the
49
- display: true
50
- bold: false
51
- second-line:
52
- text: Jumbo Jekyll Theme
53
- display: true
54
- bold: true
55
- # Text to be displayed in the home page jumbotron
56
- sub-title:
57
- first-line:
58
- text: A theme for Linaro Static Jekyll sites.
59
- display: true
60
- bold: false
61
- second-line:
62
- text: Customize this content in the _data/settings.yml
63
- display: false
64
- bold: false
65
- # Buttons to be displayed in the Jumbotron
66
- buttons:
67
- - text: Learn More
68
- class: btn btn-primary btn-lg fade-in-three bottom-border-five
69
- url: /about/
70
- - text: Get Started
71
- url:
72
- class: btn btn-primary btn-lg fade-in-three bottom-border-five
73
- # Background image for the home page located in assets/images
74
- # background-image:
75
- # # Darken is set to true by default - if you wish to remove the image overlay
76
- # # then change this setting to false.
77
- # darken: true
78
- # # This is the name of the background-image located in /assets/images/
79
- # name: background-image.jpg
80
- # image: devicetree-icon-white.png
81
-
82
- # Jekyll social media site settings. Github, LinkedIn, Google+, Facebook and Youtube
83
- # github_username: Linaro
84
- # linkedin_username: 1026961
85
- # google_plus_username: +LinaroOnAir
86
- # facebook_username: LinaroOrg
87
- # youtube_username: linaroorg
88
- # twitter_username: linaroorg
89
- # slideshare_username: linaroorg
90
-
10
+ jumbotron:
11
+ # Darken is set to true by default - if you wish to remove the image overlay
12
+ # then change this setting to false.
13
+ darken: true
14
+ error-pages:
15
+ # image: /assets/images/content/path-to-image.jpg
16
+ svg: linaro-404.html
17
+ not-found-title: 404 page not found!
18
+ not-found-desc: Sorry, but the page you were looking for could not be found.
91
19
  # Blog setup
92
20
  blog:
93
21
  # Show Thumbnails in the post index
@@ -113,12 +41,10 @@ blog:
113
41
  # Display the most recent posts
114
42
  most-recent-posts:
115
43
  display: true
116
- count: 5
117
-
44
+ count: 5
118
45
  # Google Anayltics Setup
119
46
  # google:
120
47
  # tag_manager: GTM-5DLPJQ
121
-
122
48
  # Shema.org settings used in the schema.html include.
123
49
  # schema:
124
50
  # enabled: true
@@ -138,11 +64,27 @@ blog:
138
64
  # county: Cambridge
139
65
  # post_code: CB22 7GG
140
66
  # country_code: UK
67
+ # Disqus Comments
68
+ disqus:
69
+ enabled: false
70
+ shortname: http-www-jumbojekyll-co-uk
71
+ # # Mailchimp settings
72
+ # mailchimp:
73
+ # enabled: true
74
+ # id: af6cf590b0
75
+ # # Breadcrumb Settings
76
+ # breadcrumb:
77
+ # image: breadcrumb-image.jpg
141
78
 
142
- # # Disqus Comments
143
- # disqus:
144
- # enabled: false
145
- # shortname: Linaro
146
-
147
- # Placeholder for Missing Images
148
- placeholder: placeholder.jpg
79
+ # edit-on-github:
80
+ # enabled: true
81
+ # repo: https://www.github.com/Linaro/website
82
+ # docs: https://www.github.com/Linaro/website
83
+ # Jekyll social media site settings. Github, LinkedIn, Google+, Facebook and Youtube
84
+ # github_username: Linaro
85
+ # linkedin_username: 1026961
86
+ # google_plus_username: +LinaroOnAir
87
+ # facebook_username: LinaroOrg
88
+ # youtube_username: linaroorg
89
+ # twitter_username: linaroorg
90
+ # slideshare_username: linaroorg
@@ -1,97 +1,95 @@
1
- <div class="container-fluid breadcrumb-container"
2
- {% if site.data.settings.breadcrumb.image %}
3
- style="background-image: url('{% asset_path '{{site.data.settings.breadcrumb.image}}' %}');
4
- "
5
- {% endif %}><!--- Main fluid container start ---->
6
- <div class="row"> <!--- Row Start ---->
7
- <div class="container breadcrumb-inner-container"><!--- Container Start ---->
8
- <h1>
9
- {% if page.title %}
10
- {{ page.title }}
11
- {% else %}
12
- {{page.url | replace: "/", "" | replace: "-","" | capitalize }}
13
- {% endif %}
14
- </h1>
15
- <ol itemscope itemtype="http://schema.org/BreadcrumbList" class="breadcrumb">
16
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
17
- <a itemprop="item" href="/">
18
- <span itemprop="name">{{site.title}}</span>
19
- </a>
20
- <meta itemprop="position" content="1" />
21
- </li>
22
- {% assign page-url = page.url | split: "/" %}
23
- {% assign iterator = 2 %}
24
- {% assign breadcrumb-path = "/" %}
25
- {% for section in page-url %}
26
- {% if forloop.last == false %}
27
- {% if section == "" or section == "index.html" %}
28
- {% continue %}
29
- {% elsif section == "product" %}
30
- {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
31
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
32
- <a itemprop="item" href="/products/">
33
- <span itemprop="name">{{section | truncate: 20 | capitalize }}s</span>
34
- </a>
35
- <meta itemprop="position" content="{{iterator}}" />
36
- </li>
37
- {% elsif section contains ".md.html" %}
38
- {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}{% endcapture%}
39
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
40
- <a itemprop="item" href="{{breadcrumb-path}}">
41
- <span itemprop="name">{{section | replace: ".html", "" | truncate: 20 | capitalize }}</span>
42
- </a>
43
- <meta itemprop="position" content="{{iterator}}" />
44
- </li>
45
- {% elsif section == "ConsumerEdition" %}
46
- {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
47
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
48
- <a itemprop="item" href="{{breadcrumb-path}}">
49
- <span itemprop="name">Consumer Edition</span>
50
- </a>
51
- <meta itemprop="position" content="{{iterator}}" />
52
- </li>
53
- {% elsif section == "EnterpriseEdition" %}
54
- {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
55
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
56
- <a itemprop="item" href="{{breadcrumb-path}}">
57
- <span itemprop="name">Enterprise Edition</span>
58
- </a>
59
- <meta itemprop="position" content="{{iterator}}" />
60
- </li>
61
- {% elsif section == "IoTEdition" %}
62
- {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
63
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
64
- <a itemprop="item" href="{{breadcrumb-path}}">
65
- <span itemprop="name">IoT Edition</span>
66
- </a>
67
- <meta itemprop="position" content="{{iterator}}" />
68
- </li>
69
- {% elsif section == "MezzanineProducts" %}
70
- {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
71
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
72
- <a itemprop="item" href="{{breadcrumb-path}}">
73
- <span itemprop="name">Mezzanine Products</span>
74
- </a>
75
- <meta itemprop="position" content="{{iterator}}" />
76
- </li>
77
- {% else %}
78
- {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
79
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
80
- <a itemprop="item" href="{{breadcrumb-path}}">
81
- <span itemprop="name">{{section | truncate: 20 | capitalize }}</span>
82
- </a>
83
- <meta itemprop="position" content="{{iterator}}" />
84
- </li>
85
- {% endif %}
1
+ <div class="row breadcrumb-container"
2
+ {% if site.data.settings.breadcrumb.image %}
3
+ style="background-image: url('{% asset_path '{{site.data.settings.breadcrumb.image}}' %}');
4
+ "
5
+ {% endif %}"> <!--- Row Start ---->
6
+ <div class="container breadcrumb-inner-container"><!--- Container Start ---->
7
+ <h1>
8
+ {% if page.title %}
9
+ {{ page.title }}
10
+ {% else %}
11
+ {{page.url | replace: "/", "" | replace: "-","" | capitalize }}
12
+ {% endif %}
13
+ </h1>
14
+ <ol itemscope itemtype="http://schema.org/BreadcrumbList" class="breadcrumb">
15
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
16
+ <a itemprop="item" href="/">
17
+ <span itemprop="name">{{site.title}}</span>
18
+ </a>
19
+ <meta itemprop="position" content="1" />
20
+ </li>
21
+ {% assign page-url = page.url | split: "/" %}
22
+ {% assign iterator = 2 %}
23
+ {% assign breadcrumb-path = "/" %}
24
+ {% for section in page-url %}
25
+ {% if forloop.last == false %}
26
+ {% if section == "" or section == "index.html" %}
27
+ {% continue %}
28
+ {% elsif section == "product" %}
29
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
30
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
31
+ <a itemprop="item" href="/products/">
32
+ <span itemprop="name">{{section | truncate: 20 | capitalize }}s</span>
33
+ </a>
34
+ <meta itemprop="position" content="{{iterator}}" />
35
+ </li>
36
+ {% elsif section contains ".md.html" %}
37
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}{% endcapture%}
38
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
39
+ <a itemprop="item" href="{{breadcrumb-path}}">
40
+ <span itemprop="name">{{section | replace: ".html", "" | truncate: 20 | capitalize }}</span>
41
+ </a>
42
+ <meta itemprop="position" content="{{iterator}}" />
43
+ </li>
44
+ {% elsif section == "ConsumerEdition" %}
45
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
46
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
47
+ <a itemprop="item" href="{{breadcrumb-path}}">
48
+ <span itemprop="name">Consumer Edition</span>
49
+ </a>
50
+ <meta itemprop="position" content="{{iterator}}" />
51
+ </li>
52
+ {% elsif section == "EnterpriseEdition" %}
53
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
54
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
55
+ <a itemprop="item" href="{{breadcrumb-path}}">
56
+ <span itemprop="name">Enterprise Edition</span>
57
+ </a>
58
+ <meta itemprop="position" content="{{iterator}}" />
59
+ </li>
60
+ {% elsif section == "IoTEdition" %}
61
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
62
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
63
+ <a itemprop="item" href="{{breadcrumb-path}}">
64
+ <span itemprop="name">IoT Edition</span>
65
+ </a>
66
+ <meta itemprop="position" content="{{iterator}}" />
67
+ </li>
68
+ {% elsif section == "MezzanineProducts" %}
69
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
70
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
71
+ <a itemprop="item" href="{{breadcrumb-path}}">
72
+ <span itemprop="name">Mezzanine Products</span>
73
+ </a>
74
+ <meta itemprop="position" content="{{iterator}}" />
75
+ </li>
86
76
  {% else %}
87
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" class="active">
88
- <span itemprop="name">{% if page.title %}{{page.title}}{% else %}{{ page.title }}{% endif %}</span>
89
- <meta itemprop="position" content="{{iterator}}" />
90
- </li>
77
+ {% capture breadcrumb-path %}{{breadcrumb-path}}{{section}}/{% endcapture%}
78
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
79
+ <a itemprop="item" href="{{breadcrumb-path}}">
80
+ <span itemprop="name">{{section | truncate: 20 | capitalize }}</span>
81
+ </a>
82
+ <meta itemprop="position" content="{{iterator}}" />
83
+ </li>
91
84
  {% endif %}
92
- {% assign iterator = iterator | plus: 1 %}
93
- {% endfor %}
94
- </ol>
95
- </div>
96
- </div>
85
+ {% else %}
86
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" class="active">
87
+ <span itemprop="name">{% if page.title %}{{page.title}}{% else %}{{ page.title }}{% endif %}</span>
88
+ <meta itemprop="position" content="{{iterator}}" />
89
+ </li>
90
+ {% endif %}
91
+ {% assign iterator = iterator | plus: 1 %}
92
+ {% endfor %}
93
+ </ol>
94
+ </div>
97
95
  </div>