jmblog-theme 1.1.1 → 1.1.6

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: 04e7a8fea7300246a478a7da49cbaf0867d266561124e5f948dde49ed2c330cc
4
- data.tar.gz: c94393335e73e915871ee754573f3bc5749ae6d01ad5d8a6955c53bc62439b55
3
+ metadata.gz: 67a8dcb172a090441bf4ac98697466f55ffa0597fec3a6399c9102d1adce3f44
4
+ data.tar.gz: 84b7949fa2ab0443b1b246701dcf0c18dddfc74f9f30191d6dbe77ef1f7e28b1
5
5
  SHA512:
6
- metadata.gz: c49e013ed1e43be1831c1a6e46ec1e83fcdea305cc1b80f9e9a79f479e41be85754b639136ffd96eb93d7611e689110285a4629554b5c9b8966a3ab1cbf1ce6f
7
- data.tar.gz: 610b5f47434f50d62519b06b682bd21e38ffa335f4289482a8f74e92415303faf610051b5768b432f233af6ecac1b74e4c83272a602181a652ec3a4ab5b75494
6
+ metadata.gz: 25e115399bc7e8e5aff00f2ad2aa9788ca49271b3e1bc3fc669d9b342b37a4a2ea879bf2afae06c2541a4f9076182e9f4ea4daba32917788d80f650f0dc48e26
7
+ data.tar.gz: b667ebc7cd0b326b96acee9718ce9fb4feb08b57a53827e9286f12f84c18c3a572d5271a46f1155bebfd601a47c5cad1a1984f1795a42f80f0928e302a8928c2
data/_data/navigation.yml CHANGED
@@ -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
@@ -13,14 +13,14 @@ include.is_reply %} child{% endif %}{% endcapture %}
13
13
  height="64px"
14
14
  class="is-rounded">
15
15
  {% elsif include.email != "" %}
16
- <img src="https://www.gravatar.com/avatar/{{ include.email }}?d={{ '/assets/img/user-circle.svg' | absolute_url | url_encode }}&&s=64"
17
- srcset="https://www.gravatar.com/avatar/{{ include.email }}?d={{ '/assets/img/user-circle.svg' | absolute_url | url_encode }}&&s=128 2x"
16
+ <img src="https://www.gravatar.com/avatar/{{ include.email }}?d={{ '/assets/img/user-circle-solid.svg' | absolute_url | url_encode }}&&s=64"
17
+ srcset="https://www.gravatar.com/avatar/{{ include.email }}?d={{ '/assets/img/user-circle-solid.svg' | absolute_url | url_encode }}&&s=128 2x"
18
18
  alt="{{ include.name | escape }}"
19
19
  width="64px"
20
20
  height="64px"
21
21
  class="is-rounded">
22
22
  {% else %}
23
- <img src="{{ '/assets/img/user-circle.svg' | absolute_url }}"
23
+ <img src="{{ '/assets/img/user-circle-solid.svg' | absolute_url }}"
24
24
  alt="{{ include.name | escape }}"
25
25
  width="64px"
26
26
  height="64px"
@@ -1,23 +1,19 @@
1
1
  <!-- Footer -->
2
2
  <footer class="footer">
3
- <div class="container has-text-centered">
3
+ <div class="container has-text-centered content">
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
13
12
  <a href="https://creativecommons.org/licenses/by/4.0">
14
13
  CC BY 4.0
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
 
@@ -39,8 +40,7 @@
39
40
  </a>
40
41
  </div>
41
42
 
42
-
43
- <!-- END related component -->
43
+ <!-- END related component -->
44
44
  {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
45
45
  {% if maxRelatedCounter >= maxRelated %}
46
46
  {% break %}
@@ -48,26 +48,7 @@
48
48
  {% endif %}
49
49
 
50
50
  {% endfor %}
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
51
  </div>
67
-
68
-
69
52
  </div>
70
53
  </section>
71
-
72
-
73
-
54
+ {% 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.1
4
+ version: 1.1.6
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-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: github-pages