From b3005f4e1a44d2381574936c4302c2c4f018aa74 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 11 Sep 2023 00:36:52 +0800 Subject: [PATCH 1/2] chore(release): 6.2.1 --- CHANGELOG.md | 6 ++++++ jekyll-theme-chirpy.gemspec | 2 +- package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc732bf..5091ac6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [6.2.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.2.0...v6.2.1) (2023-09-10) + +### Bug Fixes + +* **pwa:** installation failure caused by outdated cache entries ([4da7406](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4da7406dfea112a4a2b1db5615ecf2672be6694f)) + ## [6.2.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.1.0...v6.2.0) (2023-09-10) ### Features diff --git a/jekyll-theme-chirpy.gemspec b/jekyll-theme-chirpy.gemspec index aa57965..6a03cbf 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 = "6.2.0" + spec.version = "6.2.1" spec.authors = ["Cotes Chung"] spec.email = ["cotes.chung@gmail.com"] diff --git a/package.json b/package.json index 232bd37..c21eda4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jekyll-theme-chirpy", - "version": "6.2.0", + "version": "6.2.1", "description": "A minimal, responsive and feature-rich Jekyll theme for technical writing.", "repository": { "type": "git", From 273b389c512f13693ed6cdf57d256ac21deae97c Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 11 Sep 2023 02:20:45 +0800 Subject: [PATCH 2/2] fix(sidebar): contact icons not stacking (#1224) Fixes #1224 --- _includes/sidebar.html | 66 +++++++++++++++++++--------------------- _sass/addon/commons.scss | 4 +-- 2 files changed, 34 insertions(+), 36 deletions(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 1279ad1..99d6dcc 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -59,48 +59,46 @@ {% endif %} {% endunless %} -
- {% for entry in site.data.contact %} - {% case entry.type %} - {% when 'github', 'twitter' %} - {%- capture url -%} + {% for entry in site.data.contact %} + {% case entry.type %} + {% when 'github', 'twitter' %} + {%- capture url -%} https://{{ entry.type }}.com/{{ site[entry.type].username }} {%- endcapture -%} - {% when 'email' %} - {% assign email = site.social.email | split: '@' %} - {%- capture url -%} + {% when 'email' %} + {% assign email = site.social.email | split: '@' %} + {%- capture url -%} javascript:location.href = 'mailto:' + ['{{ email[0] }}','{{ email[1] }}'].join('@') {%- endcapture -%} - {% when 'rss' %} - {% assign url = '/feed.xml' | relative_url %} - {% else %} - {% assign url = entry.url %} - {% endcase %} + {% when 'rss' %} + {% assign url = '/feed.xml' | relative_url %} + {% else %} + {% assign url = entry.url %} + {% endcase %} - {% if url %} - - - - {% endif %} - {% endfor %} - + {% unless link_types == empty %} + rel="{{ link_types }}" + {% endunless %} + > + + + {% endif %} + {% endfor %} diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index 53c85fb..2eb5f14 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -830,8 +830,8 @@ $btn-mb: 0.5rem; } .sidebar-bottom { - @include pl-pr(2rem); - + padding-left: 2rem; + padding-right: 1rem; margin-bottom: 1.5rem; %button {