linaro-jekyll-theme 4.1.3 → 4.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef6489380550d1c690df6d633c0b4868a650be15e5ee048df5c093f3d95b291e
4
- data.tar.gz: aa3cf5554a177b41b683d8465bfc369510aaf10117fbf8585dfd8e9ad3c41887
3
+ metadata.gz: c5c0b61cac53432b49557c91d8291f20feb3f3e0c2f2a8d891aeb2c649964510
4
+ data.tar.gz: 24487ccca1a2ebb1f268c45754b05197021866c45236ee00d86b09f27105a45d
5
5
  SHA512:
6
- metadata.gz: d7b3181a0e782ed535252098ecbc6152bd702d09a69a39b97206288807f319bba0510c379cd8615703a2e8eb8731f4a6fb4f82fcdbd66635a07c05f431c9c6a9
7
- data.tar.gz: 14efb7cb06a90c6d7c87bf21e375053a924f3e6807dea78d786e047d1ec5384cb9f4431bf0e6d7910567cf7dc55ec6e0626c572ba989f9e0d00f4b52505d1591
6
+ metadata.gz: f2d98bb9a3abc4860978a3e296c23061bc9bfb278f56911c87aca459c8fd178185ab439d7e7e8da65b54810cbf32581eb347c211df4d0c1567a4bd7a1634f47c
7
+ data.tar.gz: 8f680f7a05066c4fa107f54885adf94f34f37e6716e9f373cbbdf74186dd461b845b2a4f99015013b83649476fe9c47048c18afea091157559826e0b8b0caca6
@@ -142,23 +142,18 @@ edit-on-github:
142
142
  breadcrumb_schema: true
143
143
  # Shema.org settings used in the schema.html include.
144
144
  schema:
145
- "@type": "Corporation"
145
+ "@context": "https://schema.org"
146
+ "@type": "Organization"
146
147
  "name": "Linaro"
147
148
  "url": "https://www.linaro.org"
149
+ "email": "contact@linaro.org"
148
150
  "logo": "https://www.linaro.org/assets/images/content/linaro-logo.png"
149
151
  "contactPoint":
150
152
  "@type": "ContactPoint"
151
153
  "telephone": "01223 400060"
152
154
  "contactType": "customer service"
153
155
  "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"
156
+ "sameAs": "https://www.linaro.org"
162
157
  # FESS search label
163
158
  search_label: Linaro
164
159
  # ----------- JEKYLL PLUGINS ---------------------
@@ -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:
@@ -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 %}
@@ -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 %}
@@ -2,7 +2,7 @@
2
2
  {% if section.format == "title" %}
3
3
  {% include flow/title.html object=section %}
4
4
  {% elsif section.format == "members" %}
5
- {% include flow/members-section.html object=section %}
5
+ {% include flow/members.html object=section %}
6
6
  {% elsif section.format == "youtube" %}
7
7
  <div class="col col-12 youtube_embed">
8
8
  {% include youtube.html url=section.url title=section.title poster_image=section.poster_image %}
@@ -0,0 +1,26 @@
1
+ {% if include.object.members_content.source %}
2
+ {% assign members = site.data[include.object.members_content.source] %}
3
+ {% else %}
4
+ {% assign members = include.object.members_content.items %}
5
+ {% endif %}
6
+ <div class="col col-12 members_section {% if include.object.style %}{{include.object.style}}{% endif %}">
7
+ <div class="row d-flex justify-content-center align-items-center">
8
+ {% for member in members %}
9
+ {% if member.image.path contains "http" %}
10
+ <div class="col col-6 col-sm-{{include.object.members_content.item_width}}">
11
+ {% if member.url %}<a href="{{member.url}}">{% endif %}
12
+ <img class="lazyload img-responsive" alt="{{member.image.alt}}"
13
+ src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
14
+ data-src="{{member.image.path}}"/>
15
+ {% if member.url %}</a>{% endif %}
16
+ </div>
17
+ {% else %}
18
+ <div class="col col-6 col-sm-{{include.object.members_content.item_width}}">
19
+ {% if member.url %}<a href="{{member.url}}">{% endif %}
20
+ {% picture members_image {{member.image.path}} --alt {{member.image.alt}} %}
21
+ {% if member.url %}</a>{% endif %}
22
+ </div>
23
+ {% endif %}
24
+ {% endfor %}
25
+ </div>
26
+ </div>
@@ -2,13 +2,22 @@
2
2
  layout: base
3
3
  css_package: blog
4
4
  ---
5
- <div itemscope="" itemtype="http://schema.org/BlogPosting">
5
+ <div itemscope="" itemtype="http://schema.org/BlogPosting" >
6
+ <meta itemprop="mainEntityOfPage" content="{{page.url | absolute_url}}"/>
7
+ <div itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
8
+ <meta itemprop="name" content="{{site.schema.name}}" />
9
+ <meta itemprop="url" content="{{site.schema.url}}" />
10
+ <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
11
+ <meta itemprop="url" content="{{site.schema.logo}}">
12
+ </div>
13
+ </div>
6
14
  <div class="container-fluid" >
7
15
  {% if page.strap_image %}
8
16
  <div class="row" id="image_header">
9
17
  {% assign image_path = page.strap_image %}
10
18
  {% capture image_alt %}{{page.title}} background image{% endcapture %}
11
19
  {% picture header_image {{image_path}} --alt {{image_alt}} %}
20
+ <meta itemprop="image" content="{{image_path | absolute_url}}" />
12
21
  </div>
13
22
  {% endif %}
14
23
  <div class="row">
@@ -18,7 +27,7 @@ css_package: blog
18
27
  </div>
19
28
  <div class="row bg-light">
20
29
  <div class="container">
21
- <div class="row" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
30
+ <div class="row">
22
31
  <div class="col col-12 col-sm-2">
23
32
  {% assign author = site.authors | where: "username", page.author | first %}
24
33
  {% assign author-url = author.url %}
@@ -29,8 +38,9 @@ css_package: blog
29
38
  {% else %}
30
39
  {% assign author_image = site.avatar_placeholder %}
31
40
  {% endif %}
32
- <div class="d-block d-md-inline-block mx-auto my-2 m-md-2 text-md-left text-center">
33
- <a href="{{author-url}}" itemprop="url" rel="author">
41
+ <div class="d-block d-md-inline-block mx-auto my-2 m-md-2 text-md-left text-center" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
42
+ <meta itemprop="name" content="{{author_name}}" />
43
+ <a href="{{author-url}}" itemprop="url" content="{{author-url | absolute_url}}">
34
44
  {% picture author_thumbnail {{author_image}} --alt {{author_image_alt}} %}
35
45
  </a>
36
46
  </div>
@@ -39,12 +49,12 @@ css_package: blog
39
49
  <div class="row">
40
50
  <div class="col col-12">
41
51
  <div class="blockquote d-block d-md-inline-block mx-2 text-md-left text-center">
42
- <strong itemprop="name" rel="author">{{author_name}}</strong>
52
+ <strong>{{author_name}}</strong>
43
53
  </div>
44
54
  <span class="divider d-none d-md-inline-block">|</span>
45
55
  <div class="post_info text-center text-md-left d-block d-md-inline-block">
46
- <div class="author_name d-inline-block mx-2">
47
- <time datetime="{{page.date}}" itemprop="datePublished">{{page.date | date: "%A, %B %-d, %Y"}}</time>
56
+ <div class="d-inline-block mx-2">
57
+ <time datetime="{{page.date}}" itemprop="datePublished dateModified" rel="BlogPosting">{{page.date | date: "%A, %B %-d, %Y"}}</time>
48
58
  </div>
49
59
  <span class="divider">|</span>
50
60
  <div class="read_time d-inline-block mx-2">
@@ -1,94 +1,114 @@
1
1
  #flow_wrapper {
2
- font-size: 1.2rem !important;
3
- @include media-breakpoint-only(xs){
4
- font-size: 1.1rem !important;
5
- }
6
- background-color: white;
7
- #collapseSection {
8
- .btn.btn-link {
9
- &:after {
10
- color: #666;
11
- top: 10px;
12
- right: 0px;
13
- position: absolute;
14
- margin-right: 30px;
15
- font-family: "fontello";
16
- font-size: 22px;
17
- content: "\e80f";
18
- }
19
- &.collapsed {
20
- &:after {
21
- content: "\e80e";
22
- }
23
- }
2
+ font-size: 1.2rem !important;
3
+ @include media-breakpoint-only(xs) {
4
+ font-size: 1.1rem !important;
5
+ }
6
+ background-color: white;
7
+ #collapseSection {
8
+ .btn.btn-link {
9
+ &:after {
10
+ color: #666;
11
+ top: 10px;
12
+ right: 0px;
13
+ position: absolute;
14
+ margin-right: 30px;
15
+ font-family: "fontello";
16
+ font-size: 22px;
17
+ content: "\e80f";
18
+ }
19
+ &.collapsed {
20
+ &:after {
21
+ content: "\e80e";
24
22
  }
23
+ }
24
+ }
25
+ }
26
+ .row {
27
+ padding: $flow_row_padding 0;
28
+ &.background_image_row {
29
+ overflow: hidden;
30
+ position: relative;
31
+ .header_background_image {
32
+ position: absolute;
33
+ object-fit: cover;
34
+ height: 100%;
35
+ width: 100%;
36
+ filter: brightness(0.4);
37
+ z-index: 0;
38
+ top: 0px;
39
+ }
40
+ }
41
+ & > .container > .col.col-12 {
42
+ padding: $flow_component_padding 0px;
43
+ }
44
+ .tabbed_content {
45
+ .tab-content {
46
+ margin-top: 15px;
47
+ }
25
48
  }
26
- .row {
27
- padding: $flow_row_padding 0;
28
- &.background_image_row {
29
- overflow: hidden;
30
- position: relative;
31
- .header_background_image {
32
- position: absolute;
33
- object-fit: cover;
34
- height: 100%;
35
- width: 100%;
36
- filter: brightness(0.4);
37
- z-index:0;
38
- top:0px;
39
- }
40
- }
41
- & > .container > .col.col-12 {
42
- padding: $flow_component_padding 0px;
43
- }
44
- .tabbed_content {
45
- .tab-content {
46
- margin-top: 15px;
47
- }
48
- }
49
49
 
50
- .slider_block {
51
- .item {
52
- height: 400px;
53
- overflow: hidden;
54
- img {
55
- height: 100%;
56
- width: auto;
57
- object-fit: cover;
58
- }
59
- }
50
+ .slider_block {
51
+ .item {
52
+ height: 400px;
53
+ overflow: hidden;
54
+ img {
55
+ height: 100%;
56
+ width: auto;
57
+ object-fit: cover;
60
58
  }
61
- .slider_row {
62
- .item {
63
- height: 200px;
64
- overflow: hidden;
65
- img {
66
- height: 100%;
67
- width: auto;
68
- object-fit: cover;
69
- @include media-breakpoint-down(sm){
70
- margin: auto;
71
- }
72
- }
73
- }
59
+ }
60
+ }
61
+ .slider_row {
62
+ .item {
63
+ height: 200px;
64
+ overflow: hidden;
65
+ img {
66
+ height: 100%;
67
+ width: auto;
68
+ object-fit: cover;
69
+ @include media-breakpoint-down(sm) {
70
+ margin: auto;
71
+ }
74
72
  }
73
+ }
74
+ }
75
+ }
76
+ .members_section {
77
+ img.members_image {
78
+ height: 100px;
79
+ object-fit: contain;
80
+ width: 100%;
81
+ padding: 15px;
75
82
  }
76
- .blocks {
77
- .block_column {
78
- margin-top: 15px;
83
+ }
84
+ .blocks {
85
+ .block_column {
86
+ margin-top: 15px;
87
+ }
88
+ .card {
89
+ overflow: hidden;
90
+ &.background_image {
91
+ picture {
92
+ height: 100%;
93
+ }
94
+ img {
95
+ filter: brightness(0.5);
96
+ height: 100%;
97
+ position: absolute;
98
+ left: 0;
99
+ right: 0;
100
+ top: 0;
101
+ z-index: 0;
79
102
  }
80
- .card {
81
- &.background_image {
82
- img {
83
- filter: brightness(0.5);
84
- height: 100%;
85
- }
86
- }
87
- .card-img-top {
88
- height: 150px;
89
- width: 100%;
90
- object-fit: cover;
91
- }
103
+ .card-body {
104
+ z-index: 1;
92
105
  }
106
+ }
107
+ .card-img-top {
108
+ height: 150px;
109
+ width: 100%;
110
+ object-fit: cover;
111
+ }
93
112
  }
113
+ }
94
114
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.3
4
+ version: 4.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-05 00:00:00.000000000 Z
11
+ date: 2020-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -205,7 +205,7 @@ files:
205
205
  - _includes/flow/flow_inner.html
206
206
  - _includes/flow/full_width_row.html
207
207
  - _includes/flow/image.html
208
- - _includes/flow/members-section.html
208
+ - _includes/flow/members.html
209
209
  - _includes/flow/slider.html
210
210
  - _includes/flow/slider_row.html
211
211
  - _includes/flow/tabbed_content.html
@@ -1,24 +0,0 @@
1
- {% if include.object.members_content.members_content.source %}
2
- {% assign members = site.data[include.object.members_content.source] %}
3
- {% else %}
4
- {% assign members = include.object.members_content.items %}
5
- {% endif %}
6
- <div class="members_section {% if include.object.style %}{{include.object.style}}{% endif %}">
7
- {% for member in members %}
8
- {% if member.url %}<a href="{{member.url}}">{% endif %}
9
- {% if member.image.path contains "http" %}
10
- <div class="col-xs-6 col-sm-{{include.object.members_content.item_width}}">
11
- <img class="lazyload img-responsive" alt="{{member.image.alt}}"
12
- src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
13
- data-src="{{member.image.path}}"/>
14
- </div>
15
- {% else %}
16
- {% assign image_path = member.image.path %}
17
- {% assign full_path = member.image.path %}
18
- <div class="col-xs-6 col-sm-{{include.object.members_content.item_width}}">
19
- <!--TODO picture-->
20
- </div>
21
- {% endif %}
22
- {% if member.url %}</a>{% endif %}
23
- {% endfor %}
24
- </div>