diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 4ab9f12..5fd3eb0 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -6,16 +6,18 @@
- {% capture avatar_url %} - {%- if site.avatar contains '://' -%} - {{ site.avatar }} - {%- elsif site.img_cdn != '' and site.img_cdn -%} - {{ site.avatar | prepend: site.img_cdn }} - {%- else -%} - {{ site.avatar | relative_url }} - {%- endif -%} - {% endcapture %} - avatar + {% if site.avatar != '' and site.avatar %} + {% capture avatar_url %} + {%- if site.avatar contains '://' -%} + {{ site.avatar }} + {%- elsif site.img_cdn != '' and site.img_cdn -%} + {{ site.avatar | prepend: site.img_cdn }} + {%- else -%} + {{ site.avatar | relative_url }} + {%- endif -%} + {% endcapture %} + avatar + {% endif %}
diff --git a/_javascript/copyright b/_javascript/copyright index 2cd3e11..3cd7337 100644 --- a/_javascript/copyright +++ b/_javascript/copyright @@ -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 * MIT Licensed */ diff --git a/_posts/2019-08-08-text-and-typography.md b/_posts/2019-08-08-text-and-typography.md index 65756a3..73189b4 100644 --- a/_posts/2019-08-08-text-and-typography.md +++ b/_posts/2019-08-08-text-and-typography.md @@ -8,8 +8,8 @@ math: true mermaid: true image: src: /commons/devices-mockup.png - width: 850 - height: 585 + width: 800 + 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. diff --git a/_posts/2019-08-09-getting-started.md b/_posts/2019-08-09-getting-started.md index 742f1d9..7704ce6 100644 --- a/_posts/2019-08-09-getting-started.md +++ b/_posts/2019-08-09-getting-started.md @@ -165,7 +165,7 @@ It depends on how you use the theme: And then execute the following command: ```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. diff --git a/_sass/jekyll-theme-chirpy.scss b/_sass/jekyll-theme-chirpy.scss index 03f9495..f23275e 100644 --- a/_sass/jekyll-theme-chirpy.scss +++ b/_sass/jekyll-theme-chirpy.scss @@ -1,7 +1,7 @@ /*! * 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 * MIT Licensed */ diff --git a/assets/js/dist/categories.min.js b/assets/js/dist/categories.min.js index 397f72e..de6f17d 100644 --- a/assets/js/dist/categories.min.js +++ b/assets/js/dist/categories.min.js @@ -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 * MIT Licensed */ diff --git a/assets/js/dist/commons.min.js b/assets/js/dist/commons.min.js index 02d9bef..b058bbe 100644 --- a/assets/js/dist/commons.min.js +++ b/assets/js/dist/commons.min.js @@ -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 * MIT Licensed */ diff --git a/assets/js/dist/home.min.js b/assets/js/dist/home.min.js index 96dbf97..3aeeb3a 100644 --- a/assets/js/dist/home.min.js +++ b/assets/js/dist/home.min.js @@ -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 * MIT Licensed */ diff --git a/assets/js/dist/page.min.js b/assets/js/dist/page.min.js index e8c36c1..fa76b1b 100644 --- a/assets/js/dist/page.min.js +++ b/assets/js/dist/page.min.js @@ -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 * MIT Licensed */ diff --git a/assets/js/dist/post.min.js b/assets/js/dist/post.min.js index fb65b50..86265c0 100644 --- a/assets/js/dist/post.min.js +++ b/assets/js/dist/post.min.js @@ -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 * MIT Licensed */ diff --git a/assets/js/dist/pvreport.min.js b/assets/js/dist/pvreport.min.js index 5d011b8..1cc998e 100644 --- a/assets/js/dist/pvreport.min.js +++ b/assets/js/dist/pvreport.min.js @@ -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 * MIT Licensed */ diff --git a/jekyll-theme-chirpy.gemspec b/jekyll-theme-chirpy.gemspec index 510847c..6ad115e 100644 --- a/jekyll-theme-chirpy.gemspec +++ b/jekyll-theme-chirpy.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "jekyll-theme-chirpy" - spec.version = "4.3.0" + spec.version = "4.3.1" spec.authors = ["Cotes Chung"] spec.email = ["cotes.chung@gmail.com"] diff --git a/package.json b/package.json index 8b8c0e0..70efb7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "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.", "main": "index.js", "directories": {