jumbo-jekyll-theme 4.7.0 → 4.7.1

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: ef893aef667c537fbc1f0d540f29907da788e1d8370fbac3ae554639aa9ac87c
4
- data.tar.gz: 57480c7cb735d4c4035a0e2c636a5b4196733aac13c9683a79161939c9dd3b4e
3
+ metadata.gz: ad62f70b6f996f0b10169eef90087fbe8a09817aff05b119ec05215bf54c43a8
4
+ data.tar.gz: f4166c38a77336160312ab0ae8790a6809565ece42fcef14a6505dfadd04a295
5
5
  SHA512:
6
- metadata.gz: 39920352100ebee486f8e45307bbad672b2f52280a7da248eaa503d32cbc7cb66f40490b304af90fed272f47da6f7ea6b73ea6970ee60c7cfd6ccc36ccf2478d
7
- data.tar.gz: d5f0f84fb4eaeb98076371bf47df06515cdc3436c174b51b843777c66bf010b75454b4c654763e57e0b67152ec7b7e5fe2eb7ecd75ff1aa1360cea565fcc4b22
6
+ metadata.gz: b8540cb0bd33ce7ebf0c0a3fde0d6d21be45f33892ad51cda72d2452f4259a10d189b79b7921202f3cd31c7d805a601661c5f30c033e36d7371baa08e2c3909e
7
+ data.tar.gz: 2e7fec874f12cc0546725f9c3c5726a7a2e99b819946ef618a951151ea9e63828d586e0925a5c7fed49144eca5a133f133dea4c35177a8df1a18343b504b014e
data/_config.yml CHANGED
@@ -91,6 +91,7 @@ defaults:
91
91
  path: "_posts"
92
92
  values:
93
93
  layout: post
94
+ is_post: true
94
95
  comments: true
95
96
  - scope:
96
97
  path: ""
data/_includes/css.html CHANGED
@@ -1,11 +1,9 @@
1
- {% if page.css-package %}
2
- {% capture css-package %}/assets/css/main-{{page.css-package}}.css{% endcapture %}
3
- <link rel="stylesheet" href="{{ css-package | relative_url }}?v={% bust_cache %}">
4
- {% elsif layout.css-package %}
5
- {% capture css-package %}/assets/css/main-{{layout.css-package}}.css{% endcapture %}
6
- <link rel="stylesheet" href="{{ css-package | relative_url }}?v={% bust_cache %}">
7
- {% elsif layout.css-package == "main" or page.css-package == "main" %}
8
- <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}?v={% bust_cache %}">
1
+ {% if include.pageCSS %}
2
+ {% capture css-package %}/assets/css/main-{{include.pageCSS}}.css{% endcapture %}
3
+ <link rel="stylesheet" href="{{ css-package | relative_url }}">
4
+ {% elsif include.layoutCSS %}
5
+ {% capture css-package %}/assets/css/main-{{include.layoutCSS}}.css{% endcapture %}
6
+ <link rel="stylesheet" href="{{ css-package | relative_url }}">
9
7
  {% else %}
10
- <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}?v={% bust_cache %}">
8
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
11
9
  {% endif %}
data/_includes/head.html CHANGED
@@ -1,31 +1,18 @@
1
1
  <head>
2
- {% if site.data.settings.ascii-art != "false" %}
3
- {% include {{site.data.settings.ascii-art}} %}
4
- {% endif %}
5
2
  <meta charset="UTF-8">
6
- {% if site.data.settings.http2 %}
7
- {% include http2.html %}
8
- {% endif %}
9
3
  <title>
10
4
  {% if page.title %}
11
5
  {{page.title}} - {{site.title}}
12
- {% elsif site.data.settings.slogan %}
13
- {{site.title}} - {{site.data.settings.slogan}}
14
6
  {% else %}
15
7
  {{site.title}}
16
8
  {% endif %}
17
9
  </title>
18
- {% include css.html %}
10
+ {% include_cached css.html pageCSS=page.css-package layoutCSS=layout.css-package %}
19
11
  <link rel="icon" href="{% if site.data.settings.favicon %}
20
12
  {% asset_path '{{site.data.settings.favicon}}' %}
21
13
  {% endif %}" type="image/png" />
22
14
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
23
- {% if site.data.settings.google.tag_manager %}
24
- {% include gtm-script.html %}
25
- {% endif %}
26
- {% if site.data.settings.google.analytics %}
27
- {% include google-analytics-script.html %}
28
- {% endif %}
15
+ {% include_cached google-analytics.html %}
29
16
  {% if page.keywords %}
30
17
  <meta name="keywords" content="{{page.keywords}}">
31
18
  {% endif %}
@@ -35,7 +22,5 @@
35
22
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
36
23
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
37
24
  <![endif]-->
38
- {% if site.data.settings.schema.enabled %}
39
- {% include schema.html %}
40
- {% endif %}
25
+ {% include_cached schema.html is_post=page.is_post included_page=page %}
41
26
  </head>
@@ -2,47 +2,43 @@
2
2
  {
3
3
  "@context": "http://schema.org",
4
4
  "@graph": [
5
-
6
- {% unless page.not-organisation %}
7
- {
8
- "@context" : "http://schema.org",
9
- "@type" : "Organization",
10
- "name" : "{{site.data.settings.schema.organisation.name}}",
11
- "url" : "{{site.data.settings.schema.organisation.url}}",
12
- "sameAs" : [
13
- {% if site.data.settings.twitter_username %}"https://twitter.com/{{site.data.settings.twitter_username}}",{% endif %}
14
- {% if site.data.settings.facebook_username %}"https://www.facebook.com/{{site.data.settings.facebook_username}}",{% endif %}
15
- {% if site.data.settings.linkedin_username %}"https://www.linkedin.com/company/{{site.data.settings.linkedin_username}}",{% endif %}
16
- {% if site.data.settings.google_plus_username %}"https://plus.google.com/{{site.data.settings.google_plus_username}}",{% endif %}
17
- {% if site.data.settings.github_username %}"https://github.com/{{site.data.settings.github_username}}",{% endif %}
18
- {% if site.data.settings.slideshare_username %}"https://www.slideshare.net/{{site.data.settings.slideshare_username}}"{% endif %}
19
- ],
20
- "address": {
21
- "@type": "PostalAddress",
22
- "streetAddress": "{{site.data.settings.schema.organisation.address.street}}",
23
- "addressLocality": "{{site.data.settings.schema.organisation.address.town}}",
24
- "addressRegion": "{{site.data.settings.schema.organisation.address.county}}",
25
- "postalCode": "{{site.data.settings.schema.organisation.address.post_code}}",
26
- "addressCountry": "{{site.data.settings.schema.organisation.address.country_code}}"
5
+ {
6
+ "@context" : "http://schema.org",
7
+ "@type" : "Organization",
8
+ "name" : "{{site.data.settings.schema.organisation.name}}",
9
+ "url" : "{{site.data.settings.schema.organisation.url}}",
10
+ "sameAs" : [
11
+ {% if site.data.settings.twitter_username %}"https://twitter.com/{{site.data.settings.twitter_username}}",{% endif %}
12
+ {% if site.data.settings.facebook_username %}"https://www.facebook.com/{{site.data.settings.facebook_username}}",{% endif %}
13
+ {% if site.data.settings.linkedin_username %}"https://www.linkedin.com/company/{{site.data.settings.linkedin_username}}",{% endif %}
14
+ {% if site.data.settings.google_plus_username %}"https://plus.google.com/{{site.data.settings.google_plus_username}}",{% endif %}
15
+ {% if site.data.settings.github_username %}"https://github.com/{{site.data.settings.github_username}}",{% endif %}
16
+ {% if site.data.settings.slideshare_username %}"https://www.slideshare.net/{{site.data.settings.slideshare_username}}"{% endif %}
17
+ ],
18
+ "address": {
19
+ "@type": "PostalAddress",
20
+ "streetAddress": "{{site.data.settings.schema.organisation.address.street}}",
21
+ "addressLocality": "{{site.data.settings.schema.organisation.address.town}}",
22
+ "addressRegion": "{{site.data.settings.schema.organisation.address.county}}",
23
+ "postalCode": "{{site.data.settings.schema.organisation.address.post_code}}",
24
+ "addressCountry": "{{site.data.settings.schema.organisation.address.country_code}}"
25
+ }
27
26
  }
28
- }
29
- {% endunless %}
30
-
31
- {% if page.is_post %}
32
- {% assign author = site.data.authors | where: "name", page.author | first %}
27
+ {% if include.is_post %}
28
+ {% assign author = site.data.authors | where: "name", include.included_page.author | first %}
33
29
  ,{
34
30
  "@type": "BlogPosting",
35
- "headline": "{{page.title}}",
36
- "image": "{{site.url}}{{page.image.path}}",
37
- "keywords": "{{page.keywords}}",
38
- "wordcount": "{{page.content | number_of_words }}",
39
- "url": "{{page.url}}",
40
- "datePublished": "{{page.date}}",
41
- "description": "{% if page.description %}{{page.description}}{% else %}{{page.excerpt }}{% endif %}",
42
- "articleBody": "{{page.content}}",
31
+ "headline": "{{include.included_page.title}}",
32
+ "image": "{{site.url}}{{include.included_page.image.path}}",
33
+ "keywords": "{{include.included_page.keywords}}",
34
+ "wordcount": "{{include.included_page.content | number_of_words }}",
35
+ "url": "{{include.included_page.url}}",
36
+ "datePublished": "{{include.included_page.date}}",
37
+ "description": "{% if include.included_page.description %}{{include.included_page.description}}{% else %}{{include.included_page.excerpt }}{% endif %}",
38
+ "articleBody": "{{include.included_page.content}}",
43
39
  "author": {
44
40
  "@type": "Person",
45
- "name": "{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}"
41
+ "name": "{% if author.name %}{{author.name}}{% else %}{{include.included_page.author}}{% endif %}"
46
42
  }
47
43
  }
48
44
  {% endif %}
data/_layouts/post.html CHANGED
@@ -43,7 +43,7 @@ css-package: blog
43
43
  {% else %}
44
44
  {% assign post_tags = "" %}
45
45
  {% endif %}
46
- {% include post-sidebar.html tags=post_tags post_cat=page.categories %}
46
+ {% include_cached post-sidebar.html tags=post_tags post_cat=page.categories %}
47
47
  </div>
48
48
  </div>
49
49
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.0
4
+ version: 4.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
@@ -368,7 +368,6 @@ files:
368
368
  - _data/sidebar-nav.yml
369
369
  - _data/sticky-tab-bar.yml
370
370
  - _data/universal-nav.yml
371
- - _includes/ascii-art.html
372
371
  - _includes/authors-posts.html
373
372
  - _includes/blog-filler-element.html
374
373
  - _includes/breadcrumb.html
@@ -378,9 +377,7 @@ files:
378
377
  - _includes/disqus-comments.html
379
378
  - _includes/footer.html
380
379
  - _includes/github-edit.html
381
- - _includes/google-analytics-script.html
382
- - _includes/gtm-noscript.html
383
- - _includes/gtm-script.html
380
+ - _includes/google-analytics.html
384
381
  - _includes/head.html
385
382
  - _includes/http2.html
386
383
  - _includes/image.html
@@ -1,26 +0,0 @@
1
- <!--
2
- %%%%%%%%%%%%%%% %%%%%% @*****************
3
- %%%%%%%%%%%%%%%%% %%%%%% ********************(
4
- %%%%%%%%%%%%%%%%% %%%%%% *********************
5
- /****////%%%%%%%%%%%%% *********************
6
- /****////%%%%%%%%%%%%% *********************
7
- /****////%%%%%%%%%%%%% *********************
8
- ****////%%%%%%%%%%%%%%%%%%%%%%%%%########*************
9
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%########*************
10
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%########*************
11
- %%%%%%%%%%%%%%%%########************/
12
- %%%%%%%%%%%%%%%%%#######***********
13
- %%%%%%%%%%%%%%%%%%%%%%%%
14
- %%%%%%%%%%%%%%%%%%%%%%%%
15
- %%%%%%%%%%%%%%%%%%%%%%%%
16
- %%%%%%%%%%%%%%%%%%%%%%%%
17
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
18
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
19
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
20
- %%%%%%%%%%%%%%
21
- %%%%%%%%%%%%%%
22
- %%%%%%%%%%%%%%
23
- %%%%%%%%%%%%%
24
-
25
- Visit our Careers page https://www.linaro.org/about/join-us/
26
- -->
@@ -1,5 +0,0 @@
1
-
2
- <!-- Google Tag Manager (noscript) -->
3
- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{site.data.settings.google.tag_manager}}"
4
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
5
- <!-- End Google Tag Manager (noscript) -->
@@ -1,7 +0,0 @@
1
- <!-- Google Tag Manager -->
2
- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
3
- new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
4
- j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
5
- 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
6
- })(window,document,'script','dataLayer','{{site.data.settings.google.tag_manager}}');</script>
7
- <!-- End Google Tag Manager -->