jekyll-theme-chirpy 4.3.0 → 4.3.1

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: db0a66adec4fcd4c99d1871419e67d5e49b943b2a33b0d884ef855e065db58b4
4
- data.tar.gz: b83407b197de953f523e80fce9ba2821f5b78f42b6d5b57bcdaa610998e884e2
3
+ metadata.gz: 5ac0681697129fcc25b4ba3279452e5eeafdd4d3fe8e915d309fa47f88adb376
4
+ data.tar.gz: 9e2f2f0c21fe9b83be98dfe9fd83717e6dd114a37240f9b1c02b54e2648009b9
5
5
  SHA512:
6
- metadata.gz: 986b351803405d63aba8a4263938292cef2f278f4077ce6a3e3ecc7837061685d254f769799537c62e9fa73db91f5c6d7c427453c7c16a294595ec44c859bef7
7
- data.tar.gz: bfe44c5fa0e0c7a76e50ad82ce4fecd8b4f8ab9bd6cccd51f0c57c69d3329990ac15a4093c06dbb48f973de0dea202b81c07b86700d708c5891854dd9a6609d6
6
+ metadata.gz: 139cfc69f079dac1bff5e62b8b9a27f55ee04a98c4c3be0c13fd2858af70c1bc9d2561fb9f25442d50e2a0469a86bc1462170f78cd640fef61f5aec0b43bc2a7
7
+ data.tar.gz: 3c67b1ec9fdb9a058cb9a6f481c5057e8542776ff6989759c6db26bf034a272a523744c6edc2accfb9cdc5172779e4dd1635b4c65211bb7526dc75461a003f32
@@ -6,16 +6,18 @@
6
6
  <div class="profile-wrapper text-center">
7
7
  <div id="avatar">
8
8
  <a href="{{ '/' | relative_url }}" alt="avatar" class="mx-auto">
9
- {% capture avatar_url %}
10
- {%- if site.avatar contains '://' -%}
11
- {{ site.avatar }}
12
- {%- elsif site.img_cdn != '' and site.img_cdn -%}
13
- {{ site.avatar | prepend: site.img_cdn }}
14
- {%- else -%}
15
- {{ site.avatar | relative_url }}
16
- {%- endif -%}
17
- {% endcapture %}
18
- <img src="{{ avatar_url }}" alt="avatar" onerror="this.style.display='none'">
9
+ {% if site.avatar != '' and site.avatar %}
10
+ {% capture avatar_url %}
11
+ {%- if site.avatar contains '://' -%}
12
+ {{ site.avatar }}
13
+ {%- elsif site.img_cdn != '' and site.img_cdn -%}
14
+ {{ site.avatar | prepend: site.img_cdn }}
15
+ {%- else -%}
16
+ {{ site.avatar | relative_url }}
17
+ {%- endif -%}
18
+ {% endcapture %}
19
+ <img src="{{ avatar_url }}" alt="avatar" onerror="this.style.display='none'">
20
+ {% endif %}
19
21
  </a>
20
22
  </div>
21
23
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * The styles for Jekyll theme Chirpy
3
3
  *
4
- * Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy)
4
+ * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy)
5
5
  * © 2019 Cotes Chung
6
6
  * MIT Licensed
7
7
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
2
+ * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
3
  * © 2019 Cotes Chung
4
4
  * MIT Licensed
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
2
+ * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
3
  * © 2019 Cotes Chung
4
4
  * MIT Licensed
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
2
+ * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
3
  * © 2019 Cotes Chung
4
4
  * MIT Licensed
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
2
+ * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
3
  * © 2019 Cotes Chung
4
4
  * MIT Licensed
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
2
+ * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
3
  * © 2019 Cotes Chung
4
4
  * MIT Licensed
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
2
+ * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
3
  * © 2019 Cotes Chung
4
4
  * MIT Licensed
5
5
  */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-chirpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cotes Chung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-29 00:00:00.000000000 Z
11
+ date: 2021-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll