linaro-jekyll-theme 4.1.2 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +26 -11
  3. data/_data/footer.yml +7 -25
  4. data/_data/nav.yml +18 -3
  5. data/_data/picture.yml +12 -0
  6. data/_data/sticky_tab_bar.yml +24 -0
  7. data/_includes/blog/post_search_fess.html +11 -0
  8. data/_includes/components/breadcrumb.html +5 -2
  9. data/_includes/components/cookie_manager.html +2 -2
  10. data/_includes/components/head.html +2 -2
  11. data/_includes/components/jumbotron.html +24 -5
  12. data/_includes/components/sticky_tab_bar.html +76 -0
  13. data/_includes/flow/blocks.html +1 -1
  14. data/_includes/flow/feature_block.html +3 -0
  15. data/_includes/flow/flow_inner.html +1 -1
  16. data/_includes/flow/members.html +26 -0
  17. data/_includes/footer/footer.html +3 -3
  18. data/_includes/nav/nav.html +24 -14
  19. data/_includes/nav/universal_nav.html +3 -2
  20. data/_layouts/documentation.html +19 -0
  21. data/_layouts/flow.html +3 -0
  22. data/_layouts/post.html +21 -8
  23. data/_sass/app/overrides.scss +21 -8
  24. data/_sass/core.scss +2 -0
  25. data/_sass/core/breadcrumb.scss +35 -13
  26. data/_sass/core/carousel-header.scss +53 -61
  27. data/_sass/core/documentation.scss +39 -0
  28. data/_sass/core/flow.scss +103 -83
  29. data/_sass/core/fontello.scss +178 -45
  30. data/_sass/core/navbar.scss +91 -57
  31. data/_sass/core/sticky_tab_bar.scss +35 -0
  32. data/_sass/core/theme.scss +75 -46
  33. data/assets/fonts/fontello/fontello.eot +0 -0
  34. data/assets/fonts/fontello/fontello.svg +34 -0
  35. data/assets/fonts/fontello/fontello.ttf +0 -0
  36. data/assets/fonts/fontello/fontello.woff +0 -0
  37. data/assets/fonts/fontello/fontello.woff2 +0 -0
  38. data/assets/images/breadcrumb-banner.png +0 -0
  39. data/assets/js/app/main.js +147 -22
  40. metadata +26 -20
  41. data/_includes/flow/members-section.html +0 -24
  42. data/_includes/sticky-tab-bar.html +0 -61
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e6496b64f5d839907f89ef6b760a9558bca7824e94952cf2ab89ca32dc2366b
4
- data.tar.gz: a6add4a5623ade9512650c5f9b9eeac95f637aec85338e3a98c998637139994b
3
+ metadata.gz: fab8bda675a0245790de866e06a17402ab42cb4f26fd1f2505dfa6f0603ee3eb
4
+ data.tar.gz: 594172c96c574de0b37870e659327d296047a2cfd83ebb142ece2555083212d0
5
5
  SHA512:
6
- metadata.gz: e95b99b539b840faa769eaece365cd7dcf780e132bdd34491d445f70cf774f841372f7e91427e3dc0cd4e783613f9163d3d505340c252044dc12cb546a7f2428
7
- data.tar.gz: e1b8860cdb0b7f9896e988512d339316f7e069a75b56f7cbb413efda2e373b46ffc96064c6ca27158281012dbf15d79c3e3158cf8ce7426ea7c734f596e6464f
6
+ metadata.gz: bb89de18aad2eebfb88630c4f68603d6c79404e3607eb66c8d9745323578f78d3c90bd16dade1cf2a9f67383cc53daf73ebaaed041ee7e677028e9634be6f10c
7
+ data.tar.gz: 37011c5e78abd009f29e51bbab2b066437d2148a6b1320982235b44c2313a8df4bc2aed9da5296de5c2564279dbd88ddebf7d9daff2ac317ab5b05fedac1fa08
@@ -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
@@ -51,7 +52,7 @@ defaults:
51
52
  layout: post
52
53
  is_post: true
53
54
  comments: true
54
- tags_enabled: false
55
+ tags_enabled: true
55
56
  strap_image: /assets/images/breadcrumb-image.jpg
56
57
  - scope:
57
58
  path: ""
@@ -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
@@ -136,29 +146,24 @@ disqus:
136
146
  # Edit on GitHub Settings
137
147
  edit-on-github:
138
148
  enabled: true
139
- repo: https://www.github.com/linaro-marketing/jumbo-jekyll-theme
149
+ repo: https://www.github.com/linaro-marketing/linaro-jekyll-theme
140
150
  # docs: https://www.github.com/Linaro/website
141
151
  # Page breadcrumb schema - https://schema.org/BreadcrumbList
142
152
  breadcrumb_schema: true
143
153
  # Shema.org settings used in the schema.html include.
144
154
  schema:
145
- "@type": "Corporation"
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-
@@ -2,30 +2,12 @@
2
2
  copyright_text: Linaro Limited
3
3
  # Set this to false if you do not want the Linaro logo in the footer.
4
4
  footer_brand:
5
- logo: /assets/images/Linaro-logo-white.png
6
- # Social Media Icons Row
7
- social_media_icons: true
8
- # Contact Info
9
- display_contact_details: true
5
+ url: https://www.linaro.org
6
+ alt: Linaro Logo
7
+ path: /assets/images/Linaro-logo-white.png
10
8
  # These links are displayed at the very bottom of the footer.
11
9
  company_links:
12
- - name: Legal
13
- url: /legal/
14
- - name: Contact
15
- url: /contact/
16
- middle_column:
17
- title: Latest News & Blogs
18
- latest_posts: true
19
- third_column:
20
- title: Other Projects
21
- items:
22
- - name: 96Boards
23
- url: https://www.96boards.org
24
- - name: Linaro Connect
25
- url: https://connect.linaro.org
26
- - name: DeviceTree
27
- url: https://www.devicetree.org
28
- - name: OP-TEE
29
- url: https://www.op-tee.org
30
- - name: Linaro Developer Cloud
31
- url: https://www.linaro.cloud
10
+ - name: Legal
11
+ url: /legal/
12
+ - name: Contact
13
+ url: /contact/
@@ -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
- url: /engineering/core/arm-power-management/eas/
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: Membership
71
- url: /membership/
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
@@ -73,6 +73,12 @@ markup_presets:
73
73
  img: 'class="lazyload img-fluid blog_content_image "'
74
74
  formats: [webp, original]
75
75
  widths: [400, 800, 1200]
76
+ members_image:
77
+ markup: data_picture
78
+ attributes:
79
+ img: 'class="lazyload img-fluid members_image "'
80
+ formats: [webp, original]
81
+ widths: [100, 200, 300, 400]
76
82
  header_image:
77
83
  markup: data_auto
78
84
  attributes:
@@ -149,3 +155,9 @@ markup_presets:
149
155
  fallback_format: webp
150
156
  fallback_width: 400
151
157
  widths: [400]
158
+ breadcrumb_banner:
159
+ markup: data_picture
160
+ attributes:
161
+ img: 'class="lazyload breadcrumb_image"'
162
+ formats: [webp, original]
163
+ 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: [/]
@@ -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
- {% picture header_slider_image {{image_path}} %}
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}} inner image" />
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
- {% picture header_image {{image_path}} %}
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
- <h1 class="">{{page.jumbotron.title}}</h1>
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 %}
@@ -35,7 +35,7 @@
35
35
  {% capture block_image_alt %}{{block.title}} image {% endcapture %}
36
36
  {% picture card_block_image {{block_image}} --alt {{block_image_alt}} %}
37
37
  {% endif %}
38
- <div class="card-body {% if block.background_image %}card-img-overlay{% else %}card-body{% endif %} {% if block.content_style %}{{block.content_style}}{% endif %}">
38
+ <div class="card-body {% if block.content_style %}{{block.content_style}}{% endif %}">
39
39
  {% if block.title %}
40
40
  <h5 class="card-title">{{block.title}}</h5>
41
41
  {% endif %}
@@ -36,6 +36,9 @@
36
36
  {% if include.object.feature_block_content.buttons %}
37
37
  {% include flow/buttons.html object=include.object.feature_block_content.buttons %}
38
38
  {% endif %}
39
+ {% if include.object.feature_block_content.custom_include %}
40
+ {% include {{include.object.feature_block_content.custom_include}} object=include.object %}
41
+ {% endif %}
39
42
  </div>
40
43
  </div>
41
44
  </div>