linaro-jekyll-theme 4.1.3 → 4.3.0
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/_config.yml +24 -9
- data/_data/nav.yml +18 -3
- data/_data/picture.yml +41 -5
- data/_data/sticky_tab_bar.yml +24 -0
- data/_data/universal_nav.yml +23 -10
- data/_includes/blog/post_search_fess.html +11 -0
- data/_includes/components/breadcrumb.html +5 -2
- data/_includes/components/cookie_manager.html +2 -2
- data/_includes/components/head.html +2 -2
- data/_includes/components/jumbotron.html +24 -5
- data/_includes/components/sticky_tab_bar.html +76 -0
- data/_includes/flow/blocks.html +1 -1
- data/_includes/flow/feature_block.html +3 -0
- data/_includes/flow/flow_inner.html +1 -1
- data/_includes/flow/members.html +26 -0
- data/_includes/js_bundles/vendor.html +1 -0
- data/_includes/nav/nav.html +24 -14
- data/_includes/nav/universal_nav.html +38 -8
- data/_layouts/documentation.html +19 -0
- data/_layouts/flow.html +3 -0
- data/_layouts/post.html +20 -7
- data/_sass/app/overrides.scss +26 -9
- data/_sass/core.scss +2 -0
- data/_sass/core/blog.scss +6 -1
- data/_sass/core/breadcrumb.scss +36 -13
- data/_sass/core/carousel-header.scss +53 -61
- data/_sass/core/documentation.scss +39 -0
- data/_sass/core/flow.scss +108 -83
- data/_sass/core/fontello.scss +178 -45
- data/_sass/core/jumbotron.scss +32 -31
- data/_sass/core/navbar.scss +171 -58
- data/_sass/core/sticky_tab_bar.scss +35 -0
- data/_sass/core/theme.scss +76 -46
- data/assets/fonts/fontello/fontello.eot +0 -0
- data/assets/fonts/fontello/fontello.svg +34 -0
- data/assets/fonts/fontello/fontello.ttf +0 -0
- data/assets/fonts/fontello/fontello.woff +0 -0
- data/assets/fonts/fontello/fontello.woff2 +0 -0
- data/assets/images/breadcrumb-banner.png +0 -0
- data/assets/js/app/main.js +147 -22
- data/assets/js/vendor/ofi.js +132 -0
- metadata +27 -20
- data/_includes/flow/members-section.html +0 -24
- data/_includes/sticky-tab-bar.html +0 -61
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a366c769d532011c265a81837fd1525ca2b532aba0480ca052f2766d5856026b
|
4
|
+
data.tar.gz: ae310377d184f0dc5f4f3342389366fa19aa50caf52da6a6e0f575d1a012a201
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10bf8266a08badcab4a49bb16895ace028a5294758ef47b3d69c483b3a2cc998af78211751dac1fef706c9331452328d56b2488224ba4c88ebee51273372a687
|
7
|
+
data.tar.gz: '039aebb1d6dd20d3187d15399f3e48ba85831b922dfb9d4ac6a496d3c616963c2d943921af2d53774256df7d0e439e70f8c53aa535a5c8d44164768084efa27f'
|
data/_config.yml
CHANGED
@@ -33,6 +33,7 @@ plugins:
|
|
33
33
|
- japr
|
34
34
|
- jekyll_picture_tag
|
35
35
|
- jekyll-tidy
|
36
|
+
- jekyll-toc
|
36
37
|
collections:
|
37
38
|
authors:
|
38
39
|
output: true
|
@@ -107,10 +108,19 @@ google_analytics:
|
|
107
108
|
social_media_share_image: /assets/images/social-media-image.png
|
108
109
|
# Set the default favicon
|
109
110
|
favicon: /assets/images/favicon.png
|
111
|
+
# Toggle the animated navbar dropdown feature
|
112
|
+
# Navbar dropdowns will open on hover
|
113
|
+
hover_nav_dropdowns: true
|
114
|
+
# Set the class used to animate dropdowns e.g. fade-up / fade-down
|
115
|
+
nav_dropdowns_animation_class: fade-down
|
116
|
+
# The bootstrap breakpoint at which the navbars will expand
|
117
|
+
nav_expand_breakpoint: lg
|
110
118
|
# Site Name - your brand name
|
111
119
|
name: Jumbo Jekyll Theme
|
112
120
|
# The blog filler element
|
113
121
|
blog_filler_element: blog/blog_filler_element.html
|
122
|
+
# Breadcrumb banner image
|
123
|
+
breadcrumb_banner: /assets/images/breadcrumb-banner.png
|
114
124
|
# Placeholder avatar
|
115
125
|
avatar_placeholder: /assets/images/avatar-placeholder.jpg
|
116
126
|
# Blog Post Image Placholder
|
@@ -142,23 +152,18 @@ edit-on-github:
|
|
142
152
|
breadcrumb_schema: true
|
143
153
|
# Shema.org settings used in the schema.html include.
|
144
154
|
schema:
|
145
|
-
"@
|
155
|
+
"@context": "https://schema.org"
|
156
|
+
"@type": "Organization"
|
146
157
|
"name": "Linaro"
|
147
158
|
"url": "https://www.linaro.org"
|
159
|
+
"email": "contact@linaro.org"
|
148
160
|
"logo": "https://www.linaro.org/assets/images/content/linaro-logo.png"
|
149
161
|
"contactPoint":
|
150
162
|
"@type": "ContactPoint"
|
151
163
|
"telephone": "01223 400060"
|
152
164
|
"contactType": "customer service"
|
153
165
|
"availableLanguage": "en"
|
154
|
-
"sameAs":
|
155
|
-
- "https://facebook.com/LinaroOrg"
|
156
|
-
- "https://twitter.com/LinaroOrg"
|
157
|
-
- "https://instagram.com/LinaroOrg"
|
158
|
-
- "https://www.linkedin.com/company/1026961/"
|
159
|
-
- "https://youtube.com/LinaroOrg"
|
160
|
-
- "https://github.com/linaro"
|
161
|
-
- "https://www.linaro.org"
|
166
|
+
"sameAs": "https://www.linaro.org"
|
162
167
|
# FESS search label
|
163
168
|
search_label: Linaro
|
164
169
|
# ----------- JEKYLL PLUGINS ---------------------
|
@@ -193,3 +198,13 @@ asset_pipeline:
|
|
193
198
|
compress: true
|
194
199
|
output_path: assets/js
|
195
200
|
gzip: false
|
201
|
+
# jekyll-toc
|
202
|
+
toc:
|
203
|
+
min_level: 1
|
204
|
+
max_level: 6
|
205
|
+
ordered_list: false
|
206
|
+
no_toc_section_class: no_toc_section
|
207
|
+
list_class: list-group docs_nav sticky-top
|
208
|
+
sublist_class: "list-group"
|
209
|
+
item_class: toc-entry
|
210
|
+
item_prefix: toc-
|
data/_data/nav.yml
CHANGED
@@ -2,6 +2,11 @@ universal_nav: true
|
|
2
2
|
search:
|
3
3
|
enabled: true
|
4
4
|
label: Linaro
|
5
|
+
expand_breakpoint: lg
|
6
|
+
brand:
|
7
|
+
# custom_include: nav/brand.html
|
8
|
+
path: /assets/images/Linaro-Logo.svg
|
9
|
+
alt: Linaro logo
|
5
10
|
pages:
|
6
11
|
- title: Features
|
7
12
|
options:
|
@@ -25,9 +30,12 @@ pages:
|
|
25
30
|
url: /flow/
|
26
31
|
- text: Post
|
27
32
|
url: /post/
|
33
|
+
- url: /documentation-page/
|
34
|
+
text: Documentation Page
|
28
35
|
- options:
|
29
36
|
- text: Overview
|
30
37
|
url: /engineering/
|
38
|
+
external: true
|
31
39
|
- text: Artificial Intelligence
|
32
40
|
url: /engineering/artificial-intelligence/
|
33
41
|
- text: Autonomous Vehicles
|
@@ -49,7 +57,13 @@ pages:
|
|
49
57
|
- text: Power Management
|
50
58
|
url: /engineering/core/arm-power-management/
|
51
59
|
- text: Power Management EAS
|
52
|
-
|
60
|
+
options:
|
61
|
+
- text: Flow
|
62
|
+
url: /flow/
|
63
|
+
- text: Post
|
64
|
+
url: /post/
|
65
|
+
- url: /documentation-page/
|
66
|
+
text: Documentation Page
|
53
67
|
- text: Power Management Farm
|
54
68
|
url: /engineering/core/arm-power-management/pmwg-farm/
|
55
69
|
- text: Security
|
@@ -67,7 +81,8 @@ pages:
|
|
67
81
|
- text: Multimedia
|
68
82
|
url: /engineering/multimedia/
|
69
83
|
title: Engineering
|
70
|
-
- title:
|
71
|
-
url: /
|
84
|
+
- title: View on GitHub
|
85
|
+
url: https://www.github.com/linaro-marketing/linaro-jekyll-theme
|
86
|
+
external: true
|
72
87
|
- url: /blog/
|
73
88
|
title: Blog
|
data/_data/picture.yml
CHANGED
@@ -73,79 +73,115 @@ markup_presets:
|
|
73
73
|
img: 'class="lazyload img-fluid blog_content_image "'
|
74
74
|
formats: [webp, original]
|
75
75
|
widths: [400, 800, 1200]
|
76
|
+
fallback_format: original
|
77
|
+
fallback_width: 1200
|
78
|
+
members_image:
|
79
|
+
markup: data_picture
|
80
|
+
attributes:
|
81
|
+
img: 'class="lazyload img-fluid members_image "'
|
82
|
+
formats: [webp, original]
|
83
|
+
widths: [100, 200, 300, 400]
|
84
|
+
fallback_format: original
|
85
|
+
fallback_width: 400
|
76
86
|
header_image:
|
77
87
|
markup: data_auto
|
78
88
|
attributes:
|
79
89
|
img: 'class="lazyload header_background_image"'
|
80
90
|
formats: [webp, original]
|
81
91
|
widths: [576, 768, 992, 1200]
|
82
|
-
fallback_format:
|
83
|
-
fallback_width:
|
92
|
+
fallback_format: original
|
93
|
+
fallback_width: 1200
|
84
94
|
content_image:
|
85
95
|
markup: data_auto
|
86
96
|
attributes:
|
87
97
|
img: 'class="lazyload img-fluid content_image"'
|
88
98
|
formats: [webp, original]
|
89
99
|
widths: [576, 768, 992, 1200]
|
90
|
-
fallback_format:
|
91
|
-
fallback_width:
|
100
|
+
fallback_format: original
|
101
|
+
fallback_width: 992
|
92
102
|
header_slider_image:
|
93
103
|
markup: data_picture
|
94
104
|
attributes:
|
95
105
|
source: 'class="owl-lazy"'
|
96
106
|
img: 'class="owl-lazy header_background_image"'
|
97
107
|
formats: [webp, original]
|
108
|
+
fallback_format: original
|
109
|
+
fallback_width: 1200
|
98
110
|
widths: [400, 800, 1200, 1920]
|
99
111
|
card_block_image:
|
100
112
|
markup: data_picture
|
101
113
|
attributes:
|
102
114
|
img: 'class="lazyload card-img-top"'
|
103
115
|
formats: [webp, original]
|
116
|
+
fallback_format: original
|
117
|
+
fallback_width: 600
|
104
118
|
widths: [400, 600]
|
105
119
|
feature_block_image:
|
106
120
|
markup: data_picture
|
107
121
|
attributes:
|
108
122
|
img: 'class="lazyload img-fluid"'
|
109
123
|
formats: [webp, original]
|
124
|
+
fallback_format: original
|
125
|
+
fallback_width: 900
|
110
126
|
widths: [400, 600, 900, 1400]
|
111
127
|
featured_blog_image:
|
112
128
|
markup: data_picture
|
113
129
|
attributes:
|
114
130
|
img: 'class="lazyload img-fluid post_index_header_image"'
|
115
131
|
formats: [webp, original]
|
132
|
+
fallback_format: original
|
133
|
+
fallback_width: 900
|
116
134
|
widths: [400, 600, 900, 1400]
|
117
135
|
slider_block_image:
|
118
136
|
markup: data_picture
|
119
137
|
attributes:
|
120
138
|
img: 'class="lazyload img-fluid"'
|
121
139
|
formats: [webp, original]
|
140
|
+
fallback_format: original
|
141
|
+
fallback_width: 900
|
122
142
|
widths: [400, 600, 900, 1400]
|
123
143
|
youtube_poster_image:
|
124
144
|
markup: direct_url
|
125
145
|
attributes:
|
126
146
|
img: 'class="lazyload img-fluid"'
|
127
147
|
formats: [webp, original]
|
148
|
+
fallback_format: original
|
149
|
+
fallback_width: 900
|
128
150
|
widths: [400, 600, 900, 1400]
|
129
151
|
author_thumbnail:
|
130
152
|
markup: data_picture
|
131
153
|
attributes:
|
132
154
|
img: 'class="lazyload rounded-circle"'
|
133
155
|
formats: [webp, original]
|
156
|
+
fallback_format: original
|
157
|
+
fallback_width: 100
|
134
158
|
widths: [50, 100]
|
135
159
|
author_thumbnail_small:
|
136
160
|
markup: data_picture
|
137
161
|
attributes:
|
138
162
|
img: 'class="lazyload rounded-circle small"'
|
139
163
|
formats: [webp, original]
|
164
|
+
fallback_format: original
|
165
|
+
fallback_width: 100
|
140
166
|
widths: [50, 100]
|
141
167
|
post_thumb:
|
142
168
|
markup: data_picture
|
143
169
|
attributes:
|
144
170
|
img: 'class="lazyload mr-3 img-thumbnail suggested_post_thumb"'
|
145
171
|
formats: [webp, original]
|
172
|
+
fallback_format: original
|
173
|
+
fallback_width: 400
|
146
174
|
widths: [50, 100, 400]
|
147
175
|
post_thumb_src_only:
|
148
176
|
markup: direct_url
|
149
|
-
fallback_format:
|
177
|
+
fallback_format: original
|
150
178
|
fallback_width: 400
|
151
179
|
widths: [400]
|
180
|
+
breadcrumb_banner:
|
181
|
+
markup: data_picture
|
182
|
+
attributes:
|
183
|
+
img: 'class="lazyload breadcrumb_image"'
|
184
|
+
formats: [webp, original]
|
185
|
+
fallback_format: original
|
186
|
+
fallback_width: 1200
|
187
|
+
widths: [1000, 1200, 2000]
|
@@ -0,0 +1,24 @@
|
|
1
|
+
pages:
|
2
|
+
# - list:
|
3
|
+
# - title: Blog
|
4
|
+
# url: /blog/
|
5
|
+
# sub-pages: true
|
6
|
+
# - title: Flow Layout
|
7
|
+
# url: /flow/
|
8
|
+
# right: true
|
9
|
+
# urls: [/, /flow/]
|
10
|
+
- list:
|
11
|
+
- title: Documentation Example
|
12
|
+
url: /documentation-page/
|
13
|
+
sub-pages: true
|
14
|
+
- title: Getting Started
|
15
|
+
url: /flow/
|
16
|
+
urls: [/documentation-page/]
|
17
|
+
- list:
|
18
|
+
- title: __current_page__
|
19
|
+
url: __current_page__
|
20
|
+
sub-pages: true
|
21
|
+
- title: Getting Started
|
22
|
+
url: /flow/
|
23
|
+
sub-pages-enabled: true
|
24
|
+
urls: [/]
|
data/_data/universal_nav.yml
CHANGED
@@ -1,22 +1,35 @@
|
|
1
1
|
items:
|
2
2
|
- active: true
|
3
3
|
title: Linaro
|
4
|
-
url:
|
4
|
+
url: "https://www.linaro.org/"
|
5
5
|
- title: Connect
|
6
|
-
url:
|
6
|
+
url: "https://connect.linaro.org"
|
7
7
|
- title: 96Boards
|
8
|
-
url:
|
9
|
-
- title:
|
10
|
-
|
8
|
+
url: "https://www.96boards.org"
|
9
|
+
- title: Twitter
|
10
|
+
icon: icon-twitter
|
11
|
+
url: "https://twitter.com/LinaroOrg"
|
12
|
+
- title: Facebook
|
13
|
+
icon: icon-facebook
|
14
|
+
url: "http://facebook.com/LinaroOrg"
|
15
|
+
- title: LinkedIn
|
16
|
+
icon: icon-linkedin
|
17
|
+
url: "https://www.linkedin.com/company/1026961"
|
18
|
+
- title: YouTube
|
19
|
+
icon: icon-youtube
|
20
|
+
url: "https://www.youtube.com/LinaroOrg"
|
11
21
|
- options:
|
12
22
|
- title: 96Boards.ai
|
13
|
-
url:
|
23
|
+
url: "https://www.96boards.ai"
|
24
|
+
- title: Developer Cloud
|
25
|
+
url: "https://linaro.cloud"
|
14
26
|
- title: devicetree.org
|
15
|
-
url:
|
27
|
+
url: "https://www.devicetree.org"
|
16
28
|
- title: OpenAMP
|
17
|
-
url:
|
29
|
+
url: "https://www.openampproject.org"
|
18
30
|
- title: OP-TEE
|
19
|
-
url:
|
31
|
+
url: "https://www.op-tee.org"
|
20
32
|
- title: Trusted Firmware
|
21
|
-
url:
|
33
|
+
url: "https://www.trustedfirmware.org/"
|
34
|
+
hamburger_toggle: true
|
22
35
|
title: Projects
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% assign data = include.object.payload %}
|
2
|
+
<div class="col col-12 ">
|
3
|
+
<div id="post_search" data-search-label="{{data.search_label}}">
|
4
|
+
<input class="form-control form-control-lg" id="search-input" type="text"
|
5
|
+
placeholder="Search {{site.categories[data.category].size}} posts..." />
|
6
|
+
<a class="close_search" href="#">
|
7
|
+
X <span class="sr-only">Clear Search</span>
|
8
|
+
</a>
|
9
|
+
<ul class="list-unstyled p-3" id="results-container"></ul>
|
10
|
+
</div>
|
11
|
+
</div>
|
@@ -1,10 +1,13 @@
|
|
1
1
|
{% assign page-url = page.url | split: "/" %}
|
2
2
|
{% assign iterator = 2 %}
|
3
3
|
{% assign breadcrumb-path = "/" %}
|
4
|
-
<nav aria-label="breadcrumb" id="breadcrumb">
|
4
|
+
<nav aria-label="breadcrumb" {% if site.breadcrumb_banner %}class="breadcrumb_bg"{% endif %}id="breadcrumb">
|
5
|
+
{% if site.breadcrumb_banner %}
|
6
|
+
{% picture breadcrumb_banner {{site.breadcrumb_banner}} --alt "Breadcrumb banner" %}
|
7
|
+
{% endif %}
|
5
8
|
<div class="container">
|
6
9
|
<h1>{{page.title}}</h1>
|
7
|
-
<ol class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">
|
10
|
+
<ol class="breadcrumb mb-0"" itemscope itemtype="http://schema.org/BreadcrumbList">
|
8
11
|
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"
|
9
12
|
class="breadcrumb-item">
|
10
13
|
<a itemprop="item" href="/">
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<div class="col col-12 col-sm-3">
|
28
28
|
<div class="df-switch">
|
29
29
|
<button type="button" class="btn btn-lg btn-toggle active" disabled data-toggle="button" aria-pressed="false"
|
30
|
-
autocomplete="off">
|
30
|
+
autocomplete="off" aria-label="Toggle Necessary Cookies">
|
31
31
|
<div class="inner-handle"></div>
|
32
32
|
<div class="handle"></div>
|
33
33
|
</button>
|
@@ -62,7 +62,7 @@
|
|
62
62
|
<div class="col col-12 col-sm-3">
|
63
63
|
<div class="df-switch">
|
64
64
|
<button id="analytics_toggle" type="button" class="btn btn-lg btn-toggle" data-toggle="button" aria-pressed="false"
|
65
|
-
autocomplete="off">
|
65
|
+
autocomplete="off" aria-label="Toggle Necessary Cookies">
|
66
66
|
<div class="inner-handle"></div>
|
67
67
|
<div class="handle"></div>
|
68
68
|
</button>
|
@@ -54,12 +54,12 @@
|
|
54
54
|
{% if page.tags %}
|
55
55
|
<meta name="keywords" content="{{page.tags | join: ", "}}">
|
56
56
|
{% elsif page.keywords %}
|
57
|
-
<meta name="keywords" content="{{page.keywords}}">
|
57
|
+
<meta name="keywords" content="{{page.keywords | join: ", "}}">
|
58
58
|
{% endif %}
|
59
59
|
{% include_cached components/schema.html %}
|
60
60
|
{% if page.url != "/" and site.breadcrumb_schema %}
|
61
61
|
<!--Breadcrumb Schema-->
|
62
|
-
{% capture breadcrumb_schema %}{"@context": "https://schema.org","@type": "BreadcrumbList","itemListElement":[{% assign crumbs = page.url | remove:'/index.html' | split: '/' %}{% assign breadcrumb_path = "/" %}{% for crumb in crumbs offset: 1 %}{% assign crumb_limit = forloop.index | plus: 1 %}{% capture breadcrumb_path %}{{breadcrumb_path}}{{crumb}}/{% endcapture%}{"@type": "ListItem","position": {{forloop.index}},"item":{"@id": "{{breadcrumb_path | absolute_url}}","name": "{% assign page_data = site.pages | where: "url", breadcrumb_path | first %}{{page_data.title}}"}}{% unless forloop.last %},{% endunless %}{% endfor %}]}{% endcapture %}
|
62
|
+
{% capture breadcrumb_schema %}{"@context": "http://schema.org","@type": "Webpage", "breadcrumb": {"@context": "https://schema.org","@type": "BreadcrumbList","itemListElement":[{% assign crumbs = page.url | remove:'/index.html' | split: '/' %}{% assign breadcrumb_path = "/" %}{% for crumb in crumbs offset: 1 %}{% assign crumb_limit = forloop.index | plus: 1 %}{% capture breadcrumb_path %}{{breadcrumb_path}}{{crumb}}/{% endcapture%}{"@type": "ListItem","position": {{forloop.index}},"item":{"@id": "{{breadcrumb_path | absolute_url}}","name": "{% assign page_data = site.pages | where: "url", breadcrumb_path | first %}{% if page_data.title %}{{page_data.title}}{% else %}{{breadcrumb_path}}{% endif %}"}}{% unless forloop.last %},{% endunless %}{% endfor %}]}}{% endcapture %}
|
63
63
|
<script type="application/ld+json">{{breadcrumb_schema | strip_newlines | strip }}</script>
|
64
64
|
{% endif %}
|
65
65
|
{% if page.schema %}<script type="application/ld+json">{{page.schema | jsonify }}</script>{% endif %}
|
@@ -5,15 +5,21 @@
|
|
5
5
|
{% for slide in page.jumbotron.slider %}
|
6
6
|
<div class="item d-flex align-items-center owl-slide {% if forloop.first %}active{% endif %}">
|
7
7
|
{% if slide.image %}
|
8
|
-
{% assign image_path = slide.image
|
9
|
-
{%
|
8
|
+
{% assign image_path = slide.image %}
|
9
|
+
{% if slide.image_alt %}
|
10
|
+
{% capture image_alt %}{{slide.image_alt}}{% endcapture%}
|
11
|
+
{% else %}
|
12
|
+
{% if slide.title %}{% assign alt_title = slide.title %}{% else %}{% assign alt_title = page.title %}{% endif %}
|
13
|
+
{% capture image_alt %}{{alt_title}} slider header background{% endcapture%}
|
14
|
+
{% endif %}
|
15
|
+
{% picture header_slider_image {{image_path}} --alt {{image_alt}} %}
|
10
16
|
{% endif %}
|
11
17
|
<div class="container {% if slide.inner_class %}{{slide.inner_class}}{% endif %}">
|
12
18
|
<div class="inner_content_wrapper">
|
13
19
|
{% if slide.inner-image %}
|
14
20
|
<img class="d-inline-block lazyload"
|
15
21
|
src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
16
|
-
data-src="{{slide.inner-image}}" alt="Slide {{forloop.index}}
|
22
|
+
data-src="{{slide.inner-image}}" alt="Slide {{forloop.index}}" />
|
17
23
|
{% endif %}
|
18
24
|
{% if slide.title %}
|
19
25
|
<h1 class=" {% if slide.title-class %}{{slide.title-class}}{% endif %}">
|
@@ -47,7 +53,13 @@
|
|
47
53
|
{% if page.jumbotron.image %}background_image{% endif%} {% if page.jumbotron.class %}{{page.jumbotron.class}}{% endif %}">
|
48
54
|
{% if page.jumbotron.image %}
|
49
55
|
{% assign image_path = page.jumbotron.image %}
|
50
|
-
{%
|
56
|
+
{% if page.jumbotron.image_alt %}
|
57
|
+
{% capture image_alt %}{{page.jumbotron.image_alt}}{% endcapture%}
|
58
|
+
{% else %}
|
59
|
+
{% if page.jumbotron.title %}{% assign alt_title = page.jumbotron.title %}{% else %}{% assign alt_title = page.title %}{% endif %}
|
60
|
+
{% capture image_alt %}{{alt_title}} header background{% endcapture%}
|
61
|
+
{% endif %}
|
62
|
+
{% picture header_image {{image_path}} --alt {{alt_title}} %}
|
51
63
|
{% endif %}
|
52
64
|
{% if page.jumbotron.video %}
|
53
65
|
<video autoplay muted preload="none" poster="{{page.jumbotron.video.poster}}" playsinline loop id="jumbotronVideo">
|
@@ -64,7 +76,14 @@
|
|
64
76
|
{% endif %}
|
65
77
|
<div class="container {% if page.jumbotron.inner_class %}{{page.jumbotron.inner_class}}{% endif %}">
|
66
78
|
<div class="inner_content_wrapper">
|
67
|
-
|
79
|
+
{% if page.jumbotron.inner-image %}
|
80
|
+
<img class="d-inline-block lazyload"
|
81
|
+
src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
82
|
+
data-src="{{page.jumbotron.inner-image}}" alt="Header inner image" />
|
83
|
+
{% endif %}
|
84
|
+
{% if page.jumbotron.title %}
|
85
|
+
<h1 {% if page.jumbotron.title-class %}class="{{page.jumbotron.title-class}}"{% endif %}>{{page.jumbotron.title}}</h1>
|
86
|
+
{% endif %}
|
68
87
|
{% if page.jumbotron.description %}
|
69
88
|
<p class="lead">
|
70
89
|
{{page.jumbotron.description }}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
{% if page.sticky_tab_bar.first %}
|
2
|
+
{% assign tab-list = page.sticky_tab_bar %}
|
3
|
+
{% else %}
|
4
|
+
{% assign sub-nav-tabs = site.data.sticky_tab_bar.pages %}
|
5
|
+
{% endif %}
|
6
|
+
{% if sub-nav-tabs %}
|
7
|
+
{% assign page-base = page.url | split:'/' %}
|
8
|
+
{% for each in sub-nav-tabs %}
|
9
|
+
{% for each-url in each.urls %}
|
10
|
+
{% if each-url == page.url %}
|
11
|
+
{% if each.list %}
|
12
|
+
{% assign tab-list = each.list %}
|
13
|
+
{% endif %}
|
14
|
+
{% elsif each.sub-pages-enabled %}
|
15
|
+
{% if page.url contains each-url %}
|
16
|
+
{% assign tab-list = each.list %}
|
17
|
+
{% endif %}
|
18
|
+
{% endif %}
|
19
|
+
{% endfor %}
|
20
|
+
{% if each.custom-include %}
|
21
|
+
{% assign custom-include = each.custom-include %}
|
22
|
+
{% endif %}
|
23
|
+
{% endfor %}
|
24
|
+
{% endif %}
|
25
|
+
{% if tab-list %}
|
26
|
+
<div class="tabbed-area non-sticky-nav" id="tabbed-nav-bar"><!-- Nav tabs Wrapper-->
|
27
|
+
<nav class="navbar navbar-expand-lg navbar-light bg-light {% if site.hover_nav_dropdowns %}hover_animated{% endif %}" role="navigation"><!-- Nav -->
|
28
|
+
<div class="container">
|
29
|
+
<a class="navbar-brand d-block d-lg-none" id="sub-navigation-header" href="#"></a><!-- Navbar Brand -->
|
30
|
+
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse"
|
31
|
+
aria-controls="tabbed-nav-bar-collapse" aria-expanded="false" aria-label="Toggle navigation">
|
32
|
+
<span class="icon-bar"></span>
|
33
|
+
<span class="icon-bar"></span>
|
34
|
+
<span class="icon-bar"></span>
|
35
|
+
<span class="sr-only">Toggle navigation</span>
|
36
|
+
</button>
|
37
|
+
<div class="collapse navbar-collapse" id="tabbed-nav-bar-collapse"><!-- Navbar Collapse -->
|
38
|
+
<ul class="nav nav-pills flex-column flex-lg-row tabbed-nav w-100" id="tab-row" role="tablist">
|
39
|
+
{% for tab in tab-list %}
|
40
|
+
{% if tab.options %}
|
41
|
+
<li class="nav-item dropdown">
|
42
|
+
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
43
|
+
{{tab.title}}
|
44
|
+
</a>
|
45
|
+
<div class="dropdown-menu {% if site.nav_dropdowns_animation_class %}{{site.nav_dropdowns_animation_class}}{% endif %}">
|
46
|
+
{% for option in tab.options %}
|
47
|
+
<a class="dropdown-item" href="{{option.url}}">{{option.title}}</a>
|
48
|
+
{% endfor %}
|
49
|
+
</div>
|
50
|
+
</li>
|
51
|
+
{% else %}
|
52
|
+
<li role="presentation"
|
53
|
+
class=" nav-item tabbed-nav-btn {% if tab.right %}pull-right{% endif %}">
|
54
|
+
<a href="{% if tab.url == '__current_page__' %}{{page.url}}{% else %}{{tab.url}}{% endif %}"
|
55
|
+
class="nav-link {% if tab.url == '__current_page__'%}active{% elsif page.url == tab.url or tab.sub-pages and page.url contains tab.url or tab.active %}active{% endif %}"
|
56
|
+
aria-controls="overview" role="link">
|
57
|
+
{% if tab.title == "__current_page__" %}
|
58
|
+
{{page.title}}
|
59
|
+
{% else %}
|
60
|
+
{{tab.title}}
|
61
|
+
{% endif %}
|
62
|
+
</a>
|
63
|
+
</li>
|
64
|
+
{% endif %}
|
65
|
+
{% endfor %}
|
66
|
+
|
67
|
+
</ul>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</nav>
|
71
|
+
</div>
|
72
|
+
{% elsif custom-include %}
|
73
|
+
{% include {{custom-include}}.html %}
|
74
|
+
{% else %}
|
75
|
+
No content found - please add to _data/sticky_tab_bar.yml. More information available <a href="/jekyll/includes/sticky-tab-bar/">here</a>.
|
76
|
+
{% endif %}
|