Merge branch 'hotfix/4.3.1'

This commit is contained in:
Cotes Chung 2021-10-01 18:49:10 +08:00
commit 2858a082a3
13 changed files with 25 additions and 23 deletions

View file

@ -6,16 +6,18 @@
<div class="profile-wrapper text-center"> <div class="profile-wrapper text-center">
<div id="avatar"> <div id="avatar">
<a href="{{ '/' | relative_url }}" alt="avatar" class="mx-auto"> <a href="{{ '/' | relative_url }}" alt="avatar" class="mx-auto">
{% capture avatar_url %} {% if site.avatar != '' and site.avatar %}
{%- if site.avatar contains '://' -%} {% capture avatar_url %}
{{ site.avatar }} {%- if site.avatar contains '://' -%}
{%- elsif site.img_cdn != '' and site.img_cdn -%} {{ site.avatar }}
{{ site.avatar | prepend: site.img_cdn }} {%- elsif site.img_cdn != '' and site.img_cdn -%}
{%- else -%} {{ site.avatar | prepend: site.img_cdn }}
{{ site.avatar | relative_url }} {%- else -%}
{%- endif -%} {{ site.avatar | relative_url }}
{% endcapture %} {%- endif -%}
<img src="{{ avatar_url }}" alt="avatar" onerror="this.style.display='none'"> {% endcapture %}
<img src="{{ avatar_url }}" alt="avatar" onerror="this.style.display='none'">
{% endif %}
</a> </a>
</div> </div>

View file

@ -1,5 +1,5 @@
/*! /*!
* Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/) * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
* © 2019 Cotes Chung * © 2019 Cotes Chung
* MIT Licensed * MIT Licensed
*/ */

View file

@ -8,8 +8,8 @@ math: true
mermaid: true mermaid: true
image: image:
src: /commons/devices-mockup.png src: /commons/devices-mockup.png
width: 850 width: 800
height: 585 height: 500
--- ---
This post is to show Markdown syntax rendering on [**Chirpy**](https://github.com/cotes2020/jekyll-theme-chirpy/fork), you can also use it as an example of writing. Now, let's start looking at text and typography. This post is to show Markdown syntax rendering on [**Chirpy**](https://github.com/cotes2020/jekyll-theme-chirpy/fork), you can also use it as an example of writing. Now, let's start looking at text and typography.

View file

@ -165,7 +165,7 @@ It depends on how you use the theme:
And then execute the following command: And then execute the following command:
```console ```console
$ bundle update jekyll-theme-chirpy $ bundle update jekyll-theme-chirpy
``` ```
As the version upgrades, the critical files (for details, see the [Startup Template][starter]) and configuration options will change. Please refer to the [Upgrade Guide](https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Upgrade-Guide) to keep your repo's files in sync with the latest version of the theme. As the version upgrades, the critical files (for details, see the [Startup Template][starter]) and configuration options will change. Please refer to the [Upgrade Guide](https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Upgrade-Guide) to keep your repo's files in sync with the latest version of the theme.

View file

@ -1,7 +1,7 @@
/*! /*!
* The styles for Jekyll theme Chirpy * The styles for Jekyll theme Chirpy
* *
* Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy) * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy)
* © 2019 Cotes Chung * © 2019 Cotes Chung
* MIT Licensed * MIT Licensed
*/ */

View file

@ -1,5 +1,5 @@
/*! /*!
* Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/) * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
* © 2019 Cotes Chung * © 2019 Cotes Chung
* MIT Licensed * MIT Licensed
*/ */

View file

@ -1,5 +1,5 @@
/*! /*!
* Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/) * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
* © 2019 Cotes Chung * © 2019 Cotes Chung
* MIT Licensed * MIT Licensed
*/ */

View file

@ -1,5 +1,5 @@
/*! /*!
* Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/) * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
* © 2019 Cotes Chung * © 2019 Cotes Chung
* MIT Licensed * MIT Licensed
*/ */

View file

@ -1,5 +1,5 @@
/*! /*!
* Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/) * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
* © 2019 Cotes Chung * © 2019 Cotes Chung
* MIT Licensed * MIT Licensed
*/ */

View file

@ -1,5 +1,5 @@
/*! /*!
* Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/) * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
* © 2019 Cotes Chung * © 2019 Cotes Chung
* MIT Licensed * MIT Licensed
*/ */

View file

@ -1,5 +1,5 @@
/*! /*!
* Chirpy v4.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy/) * Chirpy v4.3.1 (https://github.com/cotes2020/jekyll-theme-chirpy/)
* © 2019 Cotes Chung * © 2019 Cotes Chung
* MIT Licensed * MIT Licensed
*/ */

View file

@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "jekyll-theme-chirpy" spec.name = "jekyll-theme-chirpy"
spec.version = "4.3.0" spec.version = "4.3.1"
spec.authors = ["Cotes Chung"] spec.authors = ["Cotes Chung"]
spec.email = ["cotes.chung@gmail.com"] spec.email = ["cotes.chung@gmail.com"]

View file

@ -1,6 +1,6 @@
{ {
"name": "jekyll-theme-chirpy", "name": "jekyll-theme-chirpy",
"version": "4.3.0", "version": "4.3.1",
"description": "A minimal, sidebar, responsive web design Jekyll theme that focuses on text presentation.", "description": "A minimal, sidebar, responsive web design Jekyll theme that focuses on text presentation.",
"main": "index.js", "main": "index.js",
"directories": { "directories": {