jmblog-theme 1.1.2 → 1.1.3

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: 0ab47535cbe632313df88750b758780d9f273c6daac4e36a41a632b51787a33a
4
- data.tar.gz: 92389cdc4143342fedfd354dd8aac72c0cd24799f0dec648dfe8a55d4390b5d6
3
+ metadata.gz: f84f2fc9efc5c1fa4e31708ab7e7c9fc0234df70f31cb1a5b8e1158ff3114369
4
+ data.tar.gz: 4ca38d6509f5a45f693e295e24089458ffc8cac7c078ecb958c68ffda157b57c
5
5
  SHA512:
6
- metadata.gz: 1ead246e03c774189e37a348643dd2808434830de1cb7399a47c6a657684a678eca245523d72f1aba1e83c4edffa5a339132e51bf131d19fc4bac94e71296962
7
- data.tar.gz: ee9f5ed8867dad924dc19d46ee87cf6389c2e33f23eac504252052c4ee4c570bdf52cc1fe2d78a41318bf1c01770b8328bb80443e197d9e880bbf593c725b8e1
6
+ metadata.gz: dae33237496744ae945b70ab131b17a0e977d75ad33ee1948d2cdc7cf6217e407e134c1cf8fd5dfe63ef0c083b8bef628ba2e336da65ed807f7a3f754fb550d4
7
+ data.tar.gz: d4a6703a25b5f73c24133fc5062cc7db1f9c3eea9d27f3d9532a6184e15ac4582c08907344cc9860f143f38550d024eb0a7b36d077f19b9fffacf855b2c53be5
@@ -3,6 +3,6 @@ items:
3
3
  - name: Home
4
4
  link: /
5
5
  - name: About
6
- link: /authors/john
6
+ link: /authors/john_doe
7
7
  - name: Contact
8
8
  link: /contact
@@ -2,22 +2,18 @@
2
2
  <footer class="footer">
3
3
  <div class="container has-text-centered">
4
4
  <p>
5
- The source code for this website is licensed by
6
- <a href="https://opensource.org/licenses/mit-license.php">MIT</a> and can be found
7
- <a href="https://github.com/johnmoxon/johnmoxon.github.io/">
8
- here on github
9
- <i class="fab fa-github has-text-black"></i><br>
10
- </a>
11
- <span xmlns:dct="https://purl.org/dc/terms/" xmlns:cc="https://creativecommons.org/ns#" class="license-text">
12
- The website content by <strong><span rel="cc:attributionName">John Moxon</span></strong> is licensed under
5
+ The source code for this website is licensed by
6
+ <a href="https://opensource.org/licenses/mit-license.php">MIT</a> and can be found
7
+ <a href="https://github.com/johnmoxon/johnmoxon.github.io/">here on github <i class="fab fa-github has-text-black"></i></a><br>
8
+ <span xmlns:dct="https://purl.org/dc/terms/"
9
+ xmlns:cc="https://creativecommons.org/ns#"
10
+ class="license-text">
11
+ The website content by <strong><span rel="cc:attributionName">John Moxon</span></strong> is licensed under&nbsp;
13
12
  <a href="https://creativecommons.org/licenses/by/4.0">
14
- CC BY 4.0
13
+ CC BY 4.0&nbsp;
15
14
  <img
16
15
  style="height:22px!important;margin-left: 3px;vertical-align:text-bottom;"
17
- src="https://search.creativecommons.org/static/img/cc_icon.svg" />
18
- <img
19
- style="height:22px!important;margin-left: 3px;vertical-align:text-bottom;"
20
- src="https://search.creativecommons.org/static/img/cc-by_icon.svg" />
16
+ src="https://creativecommons.org/wp-content/uploads/2016/06/brain.png" height="22px" />
21
17
  </a>
22
18
  </span>
23
19
  </p>
@@ -15,7 +15,7 @@
15
15
  font-family: 'Cardo';
16
16
  font-style: normal;
17
17
  font-weight: 400;
18
- font-display: optional;
18
+ font-display: swap;
19
19
  src: local('Cardo'), local('Cardo-Regular'), url(/assets/fonts/Cardo/Cardo-Regular.woff2) format('woff2');
20
20
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
21
21
  }
@@ -25,7 +25,7 @@
25
25
  font-family: 'Montserrat';
26
26
  font-style: normal;
27
27
  font-weight: 400;
28
- font-display: optional;
28
+ font-display: swap;
29
29
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url(/assets/fonts/Montserrat/Montserrat-Regular.woff2) format('woff2');
30
30
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
31
31
  }
@@ -1,14 +1,15 @@
1
+ {% assign maxRelated = 4 %}
2
+ {% assign minCommonTags = 1 %}
3
+ {% assign maxRelatedCounter = 0 %}
4
+
5
+ {% assign posts = site.posts | where_exp: "item", "item.slug != page.slug" %}
6
+ {% if posts.size >= 1%}
1
7
  <section class="hero is-dark">
2
8
  <div class="hero-body">
3
9
  <h4 class="title is-6 is-spaced">Related posts</h4>
4
10
 
5
11
  <div class="columns is-multiline">
6
12
 
7
- {% assign maxRelated = 4 %}
8
- {% assign minCommonTags = 1 %}
9
- {% assign maxRelatedCounter = 0 %}
10
-
11
- {% assign posts = site.posts | where_exp: "item", "item.slug != page.slug" %}
12
13
  {% for post in posts %}
13
14
  {% assign sameTagCount = 0 %}
14
15
 
@@ -68,6 +69,4 @@
68
69
 
69
70
  </div>
70
71
  </section>
71
-
72
-
73
-
72
+ {% endif %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jmblog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Moxon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-28 00:00:00.000000000 Z
11
+ date: 2021-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: github-pages