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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 537c93a1109f86c3ae6952bde8412428b996dc06b4a5dcab17be07a59234f4b7
4
- data.tar.gz: 5486c60a3d336bedf32e5a2dcfce40a735ac1d92da8ff50c5dd56a163ec3f71a
3
+ metadata.gz: 5530e09587a7d40d044122a0fe0334960a5f1abc4ffe97c5ca6aa0da315dbfe0
4
+ data.tar.gz: 37c06ad06794f9390e5f3bd3d90a338f6aa284aa76bfca62b427d667f81d7ee9
5
5
  SHA512:
6
- metadata.gz: 025c50856980dd1d22f5d8242dadb3891cbee4a233e594e4528ec8a20184ee0b867ac35dc0b2a9cb62f3d0940dcf23af0db22b305cb7a286dae3af2b7387f14f
7
- data.tar.gz: 5f08a3fc56fa1c5a3e56cd2c03135681fb9e4087ece5e5c1d4af55fdfe1649b00a1ba92b402682904a7d1d826021e4e459bc35d87e4ea6e47f8e57587e0b24ba
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"
@@ -92,6 +92,5 @@
92
92
  {% if jekyll.environment == 'production' and site.google_analytics %}
93
93
  {% include google-analytics.html %}
94
94
  {% endif %}
95
- <script
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">{{authorName}}</a>
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
- <div class="row">
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
- style="width:100%; border-radius: 3px; height: 200px;"
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">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blogging-site-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-singh