jmblog-theme 1.0 → 1.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 +4 -4
- data/_config.yml +34 -16
- data/_includes/{JB → JB.old}/analytics +0 -0
- data/_includes/{JB → JB.old}/analytics-providers/getclicky +0 -0
- data/_includes/{JB → JB.old}/analytics-providers/mixpanel +0 -0
- data/_includes/{JB → JB.old}/analytics-providers/piwik +0 -0
- data/_includes/{JB → JB.old}/categories_list +0 -0
- data/_includes/{JB → JB.old}/comments +0 -0
- data/_includes/{JB → JB.old}/comments-providers/disqus +0 -0
- data/_includes/{JB → JB.old}/comments-providers/facebook +0 -0
- data/_includes/{JB → JB.old}/comments-providers/intensedebate +0 -0
- data/_includes/{JB → JB.old}/comments-providers/livefyre +0 -0
- data/_includes/{JB → JB.old}/liquid_raw +0 -0
- data/_includes/{JB → JB.old}/pages_list +0 -0
- data/_includes/{JB → JB.old}/posts_collate +0 -0
- data/_includes/{JB → JB.old}/setup +0 -0
- data/_includes/{JB → JB.old}/sharing +0 -0
- data/_includes/{JB → JB.old}/tags_list +0 -0
- data/_includes/{JB → JB.old}/urlset +0 -0
- data/_includes/themes/jmblog-theme/components/comment.html +79 -0
- data/_includes/themes/jmblog-theme/components/comment_form.html +87 -0
- data/_includes/themes/jmblog-theme/components/comments.html +40 -17
- data/_includes/themes/jmblog-theme/components/comments.html.orig +19 -0
- data/_includes/themes/jmblog-theme/components/head.html +10 -5
- data/_includes/themes/jmblog-theme/error.html +2 -2
- data/_includes/themes/jmblog-theme/home.html +2 -2
- data/_includes/themes/jmblog-theme/post.html +3 -12
- data/_includes/themes/jmblog-theme/theme/default.html +1 -1
- data/_includes/themes/jmblog-theme/theme/maintenance.html +1 -1
- data/assets/js/default.bundle.js +1 -1
- data/assets/js/default.bundle.js.br +0 -0
- data/assets/js/default.js.map +1 -1
- data/assets/js/maintenance.bundle.js +1 -1
- data/assets/js/maintenance.bundle.js.br +0 -0
- data/assets/js/maintenance.js.map +1 -1
- data/assets/js/vendor.bundle.js +1 -1
- data/assets/js/vendor.bundle.js.br +0 -0
- data/assets/js/vendor.js.map +1 -1
- data/assets/sass/base.scss +7 -6
- data/index.html +2 -2
- metadata +27 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e96b81ded7f0c6e9cd7e976bd09aaf0e85aecb8c6b22bcca45b8ac4b118cf0d3
|
|
4
|
+
data.tar.gz: 7554fe243f6d204b8dc0a7fe1c1ceb3fd1c90334aa6a000f9218e095dffe4beb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d60733fafdf3bcd789149f45f53af2e1237fb118ffc7e3568853ac8e82a1527945e7912b9978114fed3fd77e5b1eb774197746a3a8de6f640e05da3e87421fd3
|
|
7
|
+
data.tar.gz: fa1e354cd115bf4833b0b9c3ee07f2d2d0a12d25ae8920d2872c7ffa13ee47b1223ab19dff4f4e35ad79469834d37557d7acb19bc3754a0bfeb61dd6dad6e054
|
data/_config.yml
CHANGED
|
@@ -13,18 +13,15 @@ collections:
|
|
|
13
13
|
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
|
14
14
|
# You can create any custom variable you would like, and they will be accessible
|
|
15
15
|
# in the templates via {{ site.myvariable }}.
|
|
16
|
-
title:
|
|
17
|
-
tagline: "
|
|
18
|
-
author:
|
|
16
|
+
title: Website title
|
|
17
|
+
tagline: "Website tagline"
|
|
18
|
+
author: Author Name
|
|
19
19
|
|
|
20
20
|
description: >-
|
|
21
|
-
|
|
22
|
-
Risk mitigator, Technology/Fintech evangelist and amateur
|
|
23
|
-
beer brewer. Writing articles about what I know and what I learn as I
|
|
24
|
-
find my own path in my career and life.
|
|
21
|
+
Website description.
|
|
25
22
|
|
|
26
|
-
copyright: "copyright
|
|
27
|
-
license: "copyright
|
|
23
|
+
copyright: "copyright Author name 2020. All rights reserved."
|
|
24
|
+
license: "copyright Author name 2020. All rights reserved."
|
|
28
25
|
|
|
29
26
|
paginate: 5
|
|
30
27
|
paginate_path: "/articles/page:num/"
|
|
@@ -38,17 +35,17 @@ quiet: false
|
|
|
38
35
|
verbose: false
|
|
39
36
|
|
|
40
37
|
baseurl: "" # the subpath of your site, e.g. /blog
|
|
41
|
-
url: https://www.
|
|
42
|
-
twitter_username : https://twitter.com/
|
|
43
|
-
github_username : http://github.com/
|
|
44
|
-
linkedin_username : https://www.linkedin.com/in/
|
|
45
|
-
medium_username : https://medium.com/@
|
|
46
|
-
meeting_url: 'https://meetings.hubspot.com/
|
|
38
|
+
url: https://www.yourwebsite.com # the base hostname & protocol for your site, e.g. http://example.com
|
|
39
|
+
twitter_username : https://twitter.com/yourtwitterhandle
|
|
40
|
+
github_username : http://github.com/githubusername/
|
|
41
|
+
linkedin_username : https://www.linkedin.com/in/linkedinprofile/
|
|
42
|
+
medium_username : https://medium.com/@mediumusername
|
|
43
|
+
meeting_url: 'https://meetings.hubspot.com/meetingurl'
|
|
47
44
|
|
|
48
45
|
# GTM Tracking ID
|
|
49
46
|
analytics:
|
|
50
47
|
gtm:
|
|
51
|
-
tracking_id: GTM-
|
|
48
|
+
tracking_id: GTM-XXXXXXX
|
|
52
49
|
|
|
53
50
|
# Build settings
|
|
54
51
|
markdown: kramdown
|
|
@@ -78,3 +75,24 @@ plugins:
|
|
|
78
75
|
|
|
79
76
|
kramdown:
|
|
80
77
|
input: GFM
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# The URL for the staticman API bridge endpoint
|
|
82
|
+
# You will want to modify some of the values:
|
|
83
|
+
# ${github-username}: the username of the account with which you publish your blog
|
|
84
|
+
# ${blog-repo}: the name of your blog repository in github
|
|
85
|
+
# master: this the branch out of which your blog is published, often master or gh-pages
|
|
86
|
+
# ${bridge_app_name}: the name you chose in Heroku for your bridge API
|
|
87
|
+
# comments: the so-called property, this defines the key in staticman.yml where the configuration is found
|
|
88
|
+
#
|
|
89
|
+
# for me, this line reads:
|
|
90
|
+
# https://staticman-travisdownsio.herokuapp.com/v2/entry/travisdowns/travisdowns.github.io/master/comments
|
|
91
|
+
# staticman_url: https://staticmaninstance.herokuapp.com/v2/entry/githubusername/repository/branch/comments
|
|
92
|
+
|
|
93
|
+
# reCaptcha configuration info: the exact same site key and *encrypted* secret that you used in staticman.yml
|
|
94
|
+
# I personally don't think the secret needs to be included in the generated site, but the staticman API bridge uses
|
|
95
|
+
# it to ensure the site configuration and bridge configuration match (but why not just compare the site key?)
|
|
96
|
+
# reCaptcha:
|
|
97
|
+
# siteKey: yoursitekey
|
|
98
|
+
# secret: yourencryptedsecretkey
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{%- capture article_class %}media js-comment comment{% if include.name == site.author.name %} admin{% endif %}{% if
|
|
2
|
+
include.is_reply %} child{% endif %}{% endcapture %}
|
|
3
|
+
{% assign comment_id = include.uid | prepend: 'comment-' %}
|
|
4
|
+
|
|
5
|
+
<article class="{{ article_class }}" id="{{ comment_id }}" uid="{{ include.uid }}">
|
|
6
|
+
<!-- Gravatar here -->
|
|
7
|
+
<figure class="media-left">
|
|
8
|
+
<p class="image is-64x64">
|
|
9
|
+
{% if include.avatar %}
|
|
10
|
+
<img src="{{ include.avatar }}"
|
|
11
|
+
alt="{{ include.name | escape }}"
|
|
12
|
+
width="64px"
|
|
13
|
+
height="64px"
|
|
14
|
+
class="is-rounded">
|
|
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"
|
|
18
|
+
alt="{{ include.name | escape }}"
|
|
19
|
+
width="64px"
|
|
20
|
+
height="64px"
|
|
21
|
+
class="is-rounded">
|
|
22
|
+
{% else %}
|
|
23
|
+
<img src="{{ '/assets/img/user-circle.svg' | absolute_url }}"
|
|
24
|
+
alt="{{ include.name | escape }}"
|
|
25
|
+
width="64px"
|
|
26
|
+
height="64px"
|
|
27
|
+
class="is-rounded">
|
|
28
|
+
{% endif %}
|
|
29
|
+
</p>
|
|
30
|
+
</figure>
|
|
31
|
+
<!-- end gravatar -->
|
|
32
|
+
<div class="media-content">
|
|
33
|
+
<div class="comment__author">
|
|
34
|
+
<p>
|
|
35
|
+
<strong>{{- include.name | strip_html -}}</strong> <small class="comment__date">
|
|
36
|
+
{%- if include.date -%}
|
|
37
|
+
<a href="#{{ comment_id}}" title="Permalink to this comment">
|
|
38
|
+
{{- include.date | date:"%B %eth, %Y %H:%M" -}}
|
|
39
|
+
</a>
|
|
40
|
+
{%- endif -%}
|
|
41
|
+
</small>
|
|
42
|
+
<br>
|
|
43
|
+
{{ include.message | strip_html | markdownify }}
|
|
44
|
+
</p>
|
|
45
|
+
</div>
|
|
46
|
+
{% unless include.is_reply %}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
<nav class="level is-mobile">
|
|
50
|
+
<div class="level-left">
|
|
51
|
+
<a rel="nofollow"
|
|
52
|
+
class="level-item comment__reply-link"
|
|
53
|
+
data-comment-id="{{ comment_id }}"
|
|
54
|
+
data-page-slug="{{ page.slug }}"
|
|
55
|
+
data-uid="{{ include.uid }}"
|
|
56
|
+
data-respond-id="respond">
|
|
57
|
+
<span class="icon is-small pr-3">
|
|
58
|
+
<i class="fas fa-reply"></i></span> <small>reply to {{ include.name }}</small>
|
|
59
|
+
</a>
|
|
60
|
+
</div>
|
|
61
|
+
</nav>
|
|
62
|
+
|
|
63
|
+
{%- capture this_uid %}{{ include.uid }}{% endcapture %}
|
|
64
|
+
{%- assign replies = site.data.comments[page.slug] | where_exp: 'item', 'item.replying_to_uid == this_uid' %}
|
|
65
|
+
{%- assign replies_date = replies | sort: 'date' %}
|
|
66
|
+
{% for reply in replies_date %}
|
|
67
|
+
{%- assign email = reply.email -%}
|
|
68
|
+
{%- assign name = reply.name -%}
|
|
69
|
+
{%- assign url = reply.url -%}
|
|
70
|
+
{%- assign date = reply.date -%}
|
|
71
|
+
{%- assign message = reply.message -%}
|
|
72
|
+
{%- assign uid = reply._id -%}
|
|
73
|
+
{% include themes/jmblog-theme/components/comment.html is_reply=true uid=uid email=email name=name url=url date=date message=message %}
|
|
74
|
+
{% endfor %}
|
|
75
|
+
|
|
76
|
+
<!-- <hr style="border-top: 1px solid #ccc; background: transparent; margin-bottom: 10px;"> -->
|
|
77
|
+
{% endunless %}
|
|
78
|
+
</div>
|
|
79
|
+
</article>
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
<div id="comments__form" class="container mt-6">
|
|
2
|
+
<form class="comments-form form" method="post" action="{{ site.staticman_url }}">
|
|
3
|
+
<input type="hidden" name="options[origin]" value="{{ page.url | absolute_url }}">
|
|
4
|
+
<input type="hidden" name="options[parent]" value="{{ page.url | absolute_url }}">
|
|
5
|
+
<input type="hidden" id="comment-replying-to-uid" name="fields[replying_to_uid]" value="">
|
|
6
|
+
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
|
7
|
+
<input type="hidden" name="options[reCaptcha][siteKey]" value="{{ site.reCaptcha.siteKey }}">
|
|
8
|
+
<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.reCaptcha.secret }}">
|
|
9
|
+
|
|
10
|
+
<div class="field">
|
|
11
|
+
<label class="label" for="comment-form-message">
|
|
12
|
+
{% if include.first_comment == true %}Be The First To {% endif %}
|
|
13
|
+
Leave A Comment
|
|
14
|
+
</label>
|
|
15
|
+
<div class="control">
|
|
16
|
+
<textarea class="textarea comments-field"
|
|
17
|
+
name="fields[message]"
|
|
18
|
+
id="comment-form-message"
|
|
19
|
+
placeholder="Your comment (markdown accepted)"
|
|
20
|
+
required></textarea>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div class="field">
|
|
25
|
+
<label class="label" for="comment-form-name">Name</label>
|
|
26
|
+
<div class="control has-icons-left">
|
|
27
|
+
<input class="input comments-field"
|
|
28
|
+
name="fields[name]"
|
|
29
|
+
id="comment-form-name"
|
|
30
|
+
type="text"
|
|
31
|
+
placeholder="Your name (required)"
|
|
32
|
+
required>
|
|
33
|
+
<span class="icon is-small is-left">
|
|
34
|
+
<i class="fas fa-user"></i>
|
|
35
|
+
</span>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<div class="field">
|
|
40
|
+
<label class="label">Email</label>
|
|
41
|
+
<div class="control has-icons-left">
|
|
42
|
+
<input class="input comments-field"
|
|
43
|
+
name="fields[email]"
|
|
44
|
+
id="comment-form-email"
|
|
45
|
+
type="email"
|
|
46
|
+
placeholder="Your email (optional)">
|
|
47
|
+
<span class="icon is-small is-left">
|
|
48
|
+
<i class="fas fa-envelope"></i>
|
|
49
|
+
</span>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<div class="is-hidden field textfield narrowfield hp">
|
|
54
|
+
<label class="label">Website</label>
|
|
55
|
+
<div class="control has-icons-left">
|
|
56
|
+
<input class="textfield__input input"
|
|
57
|
+
name="fields[hp]"
|
|
58
|
+
id="hp"
|
|
59
|
+
type="text"
|
|
60
|
+
placeholder="Leave blank">
|
|
61
|
+
<span class="icon is-small is-left">
|
|
62
|
+
<i class="fas fa-globe-africa"></i>
|
|
63
|
+
</span>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
<div id="reCaptcha" class="g-recaptcha" data-sitekey="{{ site.reCaptcha.siteKey }}"></div>
|
|
69
|
+
|
|
70
|
+
<div class="field is-grouped mt-3 mb-5">
|
|
71
|
+
<p class="control">
|
|
72
|
+
<button class="button is-primary" id="comment-form-submit">
|
|
73
|
+
Submit
|
|
74
|
+
</button>
|
|
75
|
+
</p>
|
|
76
|
+
<p class="control">
|
|
77
|
+
<button class="button is-hidden" id="cancel-comment-reply-link">
|
|
78
|
+
Cancel
|
|
79
|
+
</button>
|
|
80
|
+
</p>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
</form>
|
|
87
|
+
</div>
|
|
@@ -1,18 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<section class="comments" id="comment-section">
|
|
2
|
+
{% if site.data.comments[page.slug] %}
|
|
3
|
+
<!-- Existing comments -->
|
|
4
|
+
<div class="comments__existing">
|
|
5
|
+
<h4 class="title is-4">Comments</h4>
|
|
6
|
+
{% assign comments = site.data.comments[page.slug] | where_exp: "item", "item.replying_to_uid == ''" %}
|
|
4
7
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
{% endif %}
|
|
8
|
+
{% assign comments_by_date = comments | sort: 'date' | reverse %}
|
|
9
|
+
<!-- List main comments in reverse date order, newest first. List replies in date order, oldest first. -->
|
|
10
|
+
{% for comment in comments_by_date %}
|
|
11
|
+
{%- assign email = comment.email %}
|
|
12
|
+
{%- assign name = comment.name %}
|
|
13
|
+
{%- assign url = comment.url %}
|
|
14
|
+
{%- assign date = comment.date %}
|
|
15
|
+
{%- assign message = comment.message %}
|
|
16
|
+
{%- assign uid = comment._id %}
|
|
17
|
+
{% include themes/jmblog-theme/components/comment.html is_reply=false uid=uid replying_to=0 email=email name=name url=url date=date
|
|
18
|
+
message=message uid=uid %}
|
|
19
|
+
{% endfor %}
|
|
20
|
+
</div>
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
23
|
+
{% unless page.comments == "closed" %}
|
|
24
|
+
<!-- New comment form -->
|
|
25
|
+
<div id="respond" class="comment__new">
|
|
26
|
+
{% capture first_comment %}{% if comments.size < 1 %}true{% else %}false{% endif %}{% endcapture %}
|
|
27
|
+
{% include themes/jmblog-theme/components/comment_form.html first_comment=first_comment %}
|
|
28
|
+
</div>
|
|
29
|
+
{% endunless %}
|
|
30
|
+
</section>
|
|
31
|
+
|
|
32
|
+
<script async defer src="https://www.google.com/recaptcha/api.js" ></script>
|
|
33
|
+
|
|
34
|
+
{%- comment %} <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> {% endcomment -%}
|
|
35
|
+
{%- comment %} <script src="{{ '/assets/main.js' | relative_url }}"></script> {% endcomment -%}
|
|
36
|
+
{%- comment %} <script src="https://www.google.com/recaptcha/api.js"></script> {% endcomment -%}
|
|
37
|
+
|
|
38
|
+
{% comment %}
|
|
39
|
+
https://github.com/travisdowns/travisdowns.github.io/tree/master/_includes
|
|
40
|
+
https://travisdowns.github.io/blog/2020/02/05/now-with-comments.html#fnref:v3
|
|
41
|
+
{% endcomment %}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
{% if page.comments %}
|
|
3
|
+
<div id="disqus_thread"></div>
|
|
4
|
+
<script>
|
|
5
|
+
|
|
6
|
+
var disqus_config = function () {
|
|
7
|
+
this.page.url = "{{ page.url | prepend: site.url }}"; // Replace PAGE_URL with your page's canonical URL variable
|
|
8
|
+
this.page.identifier = "{{ page.slug}}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
|
9
|
+
};
|
|
10
|
+
(function() { // DON'T EDIT BELOW THIS LINE
|
|
11
|
+
var d = document, s = d.createElement('script');
|
|
12
|
+
s.src = 'https://jmoxon.disqus.com/embed.js';
|
|
13
|
+
s.setAttribute('data-timestamp', +new Date());
|
|
14
|
+
(d.head || d.body).appendChild(s);
|
|
15
|
+
})();
|
|
16
|
+
</script>
|
|
17
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
|
18
|
+
|
|
19
|
+
{% endif %}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
1
|
<title>{{ page.title }} | {{site.title}}</title>
|
|
4
2
|
<meta charset="utf-8">
|
|
5
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
@@ -17,7 +15,7 @@
|
|
|
17
15
|
font-family: 'Cardo';
|
|
18
16
|
font-style: normal;
|
|
19
17
|
font-weight: 400;
|
|
20
|
-
font-display:
|
|
18
|
+
font-display: optional;
|
|
21
19
|
src: local('Cardo'), local('Cardo-Regular'), url(/assets/fonts/Cardo/Cardo-Regular.woff2) format('woff2');
|
|
22
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;
|
|
23
21
|
}
|
|
@@ -27,12 +25,19 @@
|
|
|
27
25
|
font-family: 'Montserrat';
|
|
28
26
|
font-style: normal;
|
|
29
27
|
font-weight: 400;
|
|
30
|
-
font-display:
|
|
28
|
+
font-display: optional;
|
|
31
29
|
src: local('Montserrat Regular'), local('Montserrat-Regular'), url(/assets/fonts/Montserrat/Montserrat-Regular.woff2) format('woff2');
|
|
32
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;
|
|
33
31
|
}
|
|
32
|
+
|
|
33
|
+
.is-family-secondary {
|
|
34
|
+
font-family: "Cardo","Baskerville","Calibri",serif !important;
|
|
35
|
+
}
|
|
36
|
+
body, button, input, select, textarea {
|
|
37
|
+
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
38
|
+
}
|
|
34
39
|
</style>
|
|
35
|
-
<script
|
|
40
|
+
<script async src="https://kit.fontawesome.com/f74caf9b24.js" crossorigin="anonymous"></script>
|
|
36
41
|
|
|
37
42
|
<!-- Meta tags -->
|
|
38
43
|
<meta name="description"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="debug debug-themes__jmblog__error">
|
|
1
|
+
{% comment %} <div class="debug debug-themes__jmblog__error"> {% endcomment %}
|
|
2
2
|
|
|
3
3
|
{%comment%}
|
|
4
4
|
Wrap user content, potentially include components that
|
|
@@ -12,4 +12,4 @@ render front matter as content
|
|
|
12
12
|
|
|
13
13
|
{% include themes/jmblog-theme/components/social_buttons_large.html %}
|
|
14
14
|
|
|
15
|
-
</div>
|
|
15
|
+
{% comment %} </div> {% endcomment %}
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
<figure class="image is-2by1 is-relative">
|
|
20
20
|
<a href="{{ post.url }}">
|
|
21
21
|
<img
|
|
22
|
-
data-src="{{ post.image.path | default: 'https://via.placeholder.com/910x455.png' | append: '?nf_resize=
|
|
23
|
-
data-lowsrc="{{ post.image.path | default: 'https://via.placeholder.com/910x455.png' | append: '?nf_resize=
|
|
22
|
+
data-src="{{ post.image.path | default: 'https://via.placeholder.com/910x455.png' | append: '?nf_resize=smartcrop&w=910&h=455'}}"
|
|
23
|
+
data-lowsrc="{{ post.image.path | default: 'https://via.placeholder.com/910x455.png' | append: '?nf_resize=smartcrop&w=100&h=50'}}"
|
|
24
24
|
alt="Image by {{page.image.author}} on {{page.image.source}}"
|
|
25
25
|
class="lazyload blur-up">
|
|
26
26
|
</a>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
{% include themes/jmblog-theme/components/share_buttons.html %}
|
|
32
32
|
{% include themes/jmblog-theme/components/img.html src=page.image.path alt=page.title %}
|
|
33
|
-
<span class="is-size-7 mb-5 is-block">Image by
|
|
33
|
+
<span class="is-size-7 mb-5 is-block">Image by <a href="{{ page.image.url }}">{{ page.image.author }}</a> from <a href="{{ page.image.url }}">{{ page.image.source }}</a></span>
|
|
34
34
|
|
|
35
35
|
<div class="content is-double-spaced is-size-5 is-family-secondary pb-6">
|
|
36
36
|
{{content}}
|
|
@@ -50,25 +50,16 @@
|
|
|
50
50
|
{% include themes/jmblog-theme/components/share_buttons.html %}
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
|
-
{%- comment -%}
|
|
54
|
-
<div class="is-clearfix">
|
|
55
|
-
{% if page.tags.size > 0 %}
|
|
56
|
-
{% for tag in page.tags %}
|
|
57
|
-
<span class="tag">#{{ tag }}</span>
|
|
58
|
-
{% endfor %}
|
|
59
|
-
{% endif %}
|
|
60
|
-
{% include themes/jmblog-theme/components/share_buttons.html %}
|
|
61
|
-
</div> {%- endcomment -%}
|
|
62
|
-
|
|
63
53
|
<hr>
|
|
64
54
|
</article>
|
|
65
55
|
|
|
66
56
|
<h4 class="title is-6">The Author</h4>
|
|
67
57
|
{% include themes/jmblog-theme/components/author.html is_media_object=true %}
|
|
68
58
|
|
|
59
|
+
{% if page.comments %}
|
|
69
60
|
<hr>
|
|
70
|
-
|
|
71
61
|
{% include themes/jmblog-theme/components/comments.html %}
|
|
62
|
+
{% endif %}
|
|
72
63
|
|
|
73
64
|
</div>
|
|
74
65
|
</div>
|