jmblog-theme 1.1 → 1.1.5
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 +4 -4
- data/_data/navigation.yml +1 -1
- data/_includes/themes/jmblog-theme/components/comment.html +3 -3
- data/_includes/themes/jmblog-theme/components/footer.html +9 -13
- data/_includes/themes/jmblog-theme/components/head.html +2 -2
- data/_includes/themes/jmblog-theme/components/related_articles.html +7 -26
- data/assets/img/user-circle-solid.svg +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7602e3dd00aaf5288483dab7d0e2208e51a21e7f7dd6fd5aa879e88ddb5f762
|
|
4
|
+
data.tar.gz: 6636ba564bd4eb7e46600d7d36327e6f4f4ec607b4d7922284a30939a1a278bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 503a71115f93454ef63bdd887023ce56cbfdfaac7e511c9235ed1431323440b4d30bcbf397e68ef153c3d3717496a4ef4de0e079a3a2d2c7c82590ca22541570
|
|
7
|
+
data.tar.gz: a2fced15997d292b58e8705d36a2dc4529d8809325c8a45e2e04b7e19930a494a7dfed82a71e2a84e7a2cc3a3acf68571fb9f5f04d2bf17282ac5bb2717376ef
|
data/_data/navigation.yml
CHANGED
|
@@ -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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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://
|
|
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:
|
|
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:
|
|
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,7 +40,6 @@
|
|
|
39
40
|
</a>
|
|
40
41
|
</div>
|
|
41
42
|
|
|
42
|
-
|
|
43
43
|
<!-- END related component -->
|
|
44
44
|
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
|
45
45
|
{% if maxRelatedCounter >= maxRelated %}
|
|
@@ -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 %}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user-circle" class="svg-inline--fa fa-user-circle fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"></path></svg>
|
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:
|
|
4
|
+
version: 1.1.5
|
|
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
|
|
11
|
+
date: 2021-02-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: github-pages
|
|
@@ -142,6 +142,7 @@ files:
|
|
|
142
142
|
- assets/img/john-cameron-zxsab1OdEsU-unsplash.jpg
|
|
143
143
|
- assets/img/made-with-bulma--semiblack.png
|
|
144
144
|
- assets/img/ph.png
|
|
145
|
+
- assets/img/user-circle-solid.svg
|
|
145
146
|
- assets/img/webpack-on-white-bg.svg
|
|
146
147
|
- assets/js/default.bundle.js
|
|
147
148
|
- assets/js/default.bundle.js.br
|