blogging-site-theme 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/blog/share.yml +0 -16
- data/_includes/custom-head.html +1 -2
- data/_includes/section/recent_posts.html +0 -2
- data/_includes/section/related_post.html +4 -2
- data/_layouts/blog.html +3 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5530e09587a7d40d044122a0fe0334960a5f1abc4ffe97c5ca6aa0da315dbfe0
|
4
|
+
data.tar.gz: 37c06ad06794f9390e5f3bd3d90a338f6aa284aa76bfca62b427d667f81d7ee9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf4cf6e9004f1bf8687516838b5ac6d805232764acc157922ce7b32ca2975219e3abcc5920a51be6b09f291721a589118b352ece169923e9e02a1259fa371c90
|
7
|
+
data.tar.gz: 6bc3272f6a07a0d1637b5dc185ec3e3e98467aeeaabce12210abffbf510bd2f6835986df09920da557d9bb484a8bce44a6ddac9054050c03bb2cd8ed95cab146
|
data/_data/blog/share.yml
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
# Sharing options at the bottom of the post.
|
2
|
-
# Icons from <https://fontawesome.com/>
|
3
|
-
|
4
1
|
label: 'Share'
|
5
2
|
|
6
3
|
platforms:
|
@@ -13,16 +10,3 @@ platforms:
|
|
13
10
|
- type: Linkedin
|
14
11
|
icon: 'fab fa-linkedin'
|
15
12
|
link: 'https://www.linkedin.com/sharing/share-offsite/?url=URL'
|
16
|
-
# Uncomment below if you need to.
|
17
|
-
# -
|
18
|
-
# type: Linkedin
|
19
|
-
# icon: "fab fa-linkedin"
|
20
|
-
# link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
|
21
|
-
#
|
22
|
-
# -
|
23
|
-
# type: Weibo
|
24
|
-
# icon: "fab fa-weibo"
|
25
|
-
# link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
|
26
|
-
# type: Telegram
|
27
|
-
# icon: "fab fa-telegram"
|
28
|
-
# link: "https://telegram.me/share?text=TITLE&url=URL"
|
data/_includes/custom-head.html
CHANGED
@@ -92,6 +92,5 @@
|
|
92
92
|
{% if jekyll.environment == 'production' and site.google_analytics %}
|
93
93
|
{% include google-analytics.html %}
|
94
94
|
{% endif %}
|
95
|
-
|
96
|
-
id="mcjs">!function (c, h, i, m, p) { m = c.createElement(h), p = c.getElementsByTagName(h)[0], m.async = 1, m.src = i, p.parentNode.insertBefore(m, p) }(document, "script", "https://chimpstatic.com/mcjs-connected/js/users/26c2cf78e37e16d44d35c5d1c/4ba439c2ff742fc68dc76b732.js");</script>
|
95
|
+
|
97
96
|
</head>
|
@@ -6,7 +6,6 @@
|
|
6
6
|
<div class="row">
|
7
7
|
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
8
8
|
{% for post in posts limit: 3%}
|
9
|
-
|
10
9
|
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
11
10
|
<div class="card h-100">
|
12
11
|
<a href="{{ post.url }}">
|
@@ -21,7 +20,6 @@
|
|
21
20
|
<div class="card-footer bg-white">
|
22
21
|
<div class="wrapfooter">
|
23
22
|
{% assign author = site.data.blog.authors[post.author] %}
|
24
|
-
|
25
23
|
{% if post.author %}
|
26
24
|
<span class="meta-footer-thumb">
|
27
25
|
<img class="author-thumb" loading="lazy" src="{{author.image}}" alt="{{ authorName }}">
|
@@ -127,14 +127,16 @@
|
|
127
127
|
</div>
|
128
128
|
<div class="card-footer bg-white">
|
129
129
|
<div class="wrapfooter">
|
130
|
+
{% assign author = site.data.blog.authors[post.author] %}
|
131
|
+
|
130
132
|
{% if post.author %}
|
131
133
|
<span class="meta-footer-thumb">
|
132
|
-
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
134
|
+
<img class="author-thumb" loading="lazy" src="{{author.image}}" alt="{{ authorName }}">
|
133
135
|
</span>
|
134
136
|
{% endif %}
|
135
137
|
<span class="author-meta">
|
136
138
|
<span class="post-name">
|
137
|
-
<a target="_blank" href="/blog">{{
|
139
|
+
<a target="_blank" href="/blog">{{author.name}}</a>
|
138
140
|
</span><br>
|
139
141
|
<span class="post-date">{{post.date | date_to_string }}</span>
|
140
142
|
</span>
|
data/_layouts/blog.html
CHANGED
@@ -23,14 +23,13 @@
|
|
23
23
|
</div>
|
24
24
|
<!-- close -->
|
25
25
|
|
26
|
-
|
26
|
+
<div class="row">
|
27
27
|
{% for post in paginator.posts%}
|
28
28
|
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
29
29
|
<div class="card h-100" id="{{post.categories}}">
|
30
30
|
<a href="{{ post.url }}">
|
31
|
-
<img src="{{ post.image }}" class="card-img-top"
|
32
|
-
|
33
|
-
alt="{{post.url}}">
|
31
|
+
<img src="{{ post.image }}" class="card-img-top"
|
32
|
+
style="width:100%; border-radius: 3px; height: 200px;" alt="{{post.url}}">
|
34
33
|
</a>
|
35
34
|
<div class="card-body">
|
36
35
|
<a href="{{ post.url }}" class="anchor_link">
|