Skip to content

Conversation

cotes2020
Copy link
Owner

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Description

@cotes2020 cotes2020 requested a review from Copilot May 11, 2025 14:09
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug affecting the accuracy of moving classes from img elements by introducing refactored logic for separating and reassigning classes.

  • Introduces a new _wrapper_class variable to accumulate selected class names
  • Splits the _class string into an array, filters based on specific criteria, and updates the DOM accordingly
  • Updates class appending in lazy-load and shimmer/blur scenarios

@cotes2020 cotes2020 merged commit d0f8f95 into master May 11, 2025
6 checks passed
@cotes2020 cotes2020 deleted the fix-img-classes branch May 11, 2025 14:19
github-actions bot pushed a commit that referenced this pull request May 18, 2025
## [7.3.0](v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([#2349](#2349)) ([167c98c](167c98c))
* **i18n:** add Dutch locale ([#2076](#2076)) ([981ddba](981ddba))
* **i18n:** add Japanese locale ([#2295](#2295)) ([571c90f](571c90f))
* **i18n:** add persian language ([#2238](#2238)) ([7d4d35c](7d4d35c))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([#2389](#2389)) ([401e2af](401e2af))
* improve accuracy of moving `img` element classes ([#2399](#2399)) ([d0f8f95](d0f8f95))
* prevent the search bar from moving when focused ([#2336](#2336)) ([f744929](f744929))
* recognize global theme mode ([#2357](#2357)) ([7708adb](7708adb))
* **search:** avoid missing spaces between paragraphs in search results ([#2199](#2199)) ([0eb7efa](0eb7efa))
* **ui:** fix incomplete border color on hover for tags ([#2359](#2359)) ([c626447](c626447))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([#2289](#2289)) ([54d4d59](54d4d59))
Datta0 added a commit to Datta0/datta0.github.io that referenced this pull request May 20, 2025
commit 53770e4
Author: semantic-release-bot <[email protected]>
Date:   Sun May 18 13:17:30 2025 +0000

    chore(release): 7.3.0

    ## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

    ### Features

    * **i18n:** add Catalan Spanish locale translation ([cotes2020#2349](cotes2020#2349)) ([167c98c](cotes2020@167c98c))
    * **i18n:** add Dutch locale ([cotes2020#2076](cotes2020#2076)) ([981ddba](cotes2020@981ddba))
    * **i18n:** add Japanese locale ([cotes2020#2295](cotes2020#2295)) ([571c90f](cotes2020@571c90f))
    * **i18n:** add persian language ([cotes2020#2238](cotes2020#2238)) ([7d4d35c](cotes2020@7d4d35c))

    ### Bug Fixes

    * avoid `mathjax` loading failure on page refresh ([cotes2020#2389](cotes2020#2389)) ([401e2af](cotes2020@401e2af))
    * improve accuracy of moving `img` element classes ([cotes2020#2399](cotes2020#2399)) ([d0f8f95](cotes2020@d0f8f95))
    * prevent the search bar from moving when focused ([cotes2020#2336](cotes2020#2336)) ([f744929](cotes2020@f744929))
    * recognize global theme mode ([cotes2020#2357](cotes2020#2357)) ([7708adb](cotes2020@7708adb))
    * **search:** avoid missing spaces between paragraphs in search results ([cotes2020#2199](cotes2020#2199)) ([0eb7efa](cotes2020@0eb7efa))
    * **ui:** fix incomplete border color on hover for tags ([cotes2020#2359](cotes2020#2359)) ([c626447](cotes2020@c626447))

    ### Improvements

    * **seo:** improve accessibility and aligns with best practices ([cotes2020#2289](cotes2020#2289)) ([54d4d59](cotes2020@54d4d59))

commit d84b727
Merge: 5e41d87 519e4f1
Author: Cotes Chung <[email protected]>
Date:   Sun May 18 21:16:09 2025 +0800

    Merge branch 'master' into production

commit 519e4f1
Author: Cotes Chung <[email protected]>
Date:   Sun May 18 21:14:56 2025 +0800

    chore: upgrade dependencies to the latest version (cotes2020#2409)

commit d0f8f95
Author: Cotes Chung <[email protected]>
Date:   Sun May 11 22:19:18 2025 +0800

    fix: improve accuracy of moving `img` element classes (cotes2020#2399)

commit 401e2af
Author: Cotes Chung <[email protected]>
Date:   Mon May 5 11:55:48 2025 +0800

    fix: avoid `mathjax` loading failure on page refresh (cotes2020#2389)

commit ada38aa
Author: Cotes Chung <[email protected]>
Date:   Mon May 5 11:15:08 2025 +0800

    chore: avoid auto-formatting liquid and sass mixed code

commit 61ae6cc
Author: Cotes Chung <[email protected]>
Date:   Mon May 5 11:14:07 2025 +0800

    chore(dev-deps): add eslint config file

commit 9f38a2d
Author: Cotes Chung <[email protected]>
Date:   Sat May 3 16:18:52 2025 +0800

    refactor: move the path of `theme.js`

commit 23d953c
Author: Cotes Chung <[email protected]>
Date:   Sat May 3 16:14:50 2025 +0800

    chore(deps): remove plugin `jekyll-redirect-from`

    Discussed in cotes2020#2313

commit b48ea68
Author: iSpeakNerd <[email protected]>
Date:   Thu Apr 24 05:25:46 2025 -0700

    chore: update `linkedin` sharing url (cotes2020#2307)

commit c626447
Author: László Várady <[email protected]>
Date:   Thu Apr 24 14:23:43 2025 +0200

    fix(ui): fix incomplete border color on hover for tags (cotes2020#2359)

commit 7708adb
Author: Cotes Chung <[email protected]>
Date:   Wed Apr 16 18:08:43 2025 +0800

    fix: recognize global theme mode (cotes2020#2357)

commit 167c98c
Author: Delyn Choong <[email protected]>
Date:   Sun Apr 13 22:16:47 2025 +0800

    feat(i18n): add Catalan Spanish locale translation (cotes2020#2349)

commit f744929
Author: László Várady <[email protected]>
Date:   Mon Apr 7 13:36:32 2025 +0200

    fix: prevent the search bar from moving when focused (cotes2020#2336)

commit db40db6
Author: Alejandro <[email protected]>
Date:   Sat Apr 5 01:28:29 2025 +0200

    chore: add parameter in `search-results.html` (cotes2020#2330)

commit 571c90f
Author: nakamura <[email protected]>
Date:   Sat Mar 29 04:54:54 2025 +0900

    feat(i18n): add Japanese locale (cotes2020#2295)

commit 54d4d59
Author: Türkalp Burak KAYRANCIOĞLU <[email protected]>
Date:   Sat Mar 8 17:24:47 2025 +0300

    perf(seo): improve accessibility and aligns with best practices (cotes2020#2289)

commit e315864
Author: Corey Goldberg <[email protected]>
Date:   Tue Mar 4 16:06:37 2025 -0500

    docs: fix typo in `2019-08-08-write-a-new-post.md` (cotes2020#2281)

    Signed-off-by: Corey Goldberg <[email protected]>

commit 7d4d35c
Author: MasihGhaznavi <[email protected]>
Date:   Sun Feb 9 09:58:39 2025 +0330

    feat(i18n): add persian language (cotes2020#2238)

commit 231956d
Author: algorithmic-parallels <[email protected]>
Date:   Thu Feb 6 00:27:54 2025 -0500

    docs: using long form Jekyll subcommand (cotes2020#2231)

Signed-off-by: datta0 <[email protected]>
kiennql pushed a commit to kiennql/kiennql.github.io that referenced this pull request Jun 20, 2025
## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([#2349](cotes2020/jekyll-theme-chirpy#2349)) ([390c3fa](cotes2020/jekyll-theme-chirpy@390c3fa))
* **i18n:** add Dutch locale ([#2076](cotes2020/jekyll-theme-chirpy#2076)) ([4e7bf6c](cotes2020/jekyll-theme-chirpy@4e7bf6c))
* **i18n:** add Japanese locale ([#2295](cotes2020/jekyll-theme-chirpy#2295)) ([0898ad8](cotes2020/jekyll-theme-chirpy@0898ad8))
* **i18n:** add persian language ([#2238](cotes2020/jekyll-theme-chirpy#2238)) ([c4642cd](cotes2020/jekyll-theme-chirpy@c4642cd))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([#2389](cotes2020/jekyll-theme-chirpy#2389)) ([4f2d674](cotes2020/jekyll-theme-chirpy@4f2d674))
* improve accuracy of moving `img` element classes ([#2399](cotes2020/jekyll-theme-chirpy#2399)) ([1ba2447](cotes2020/jekyll-theme-chirpy@1ba2447))
* prevent the search bar from moving when focused ([#2336](cotes2020/jekyll-theme-chirpy#2336)) ([2caade3](cotes2020/jekyll-theme-chirpy@2caade3))
* recognize global theme mode ([#2357](cotes2020/jekyll-theme-chirpy#2357)) ([f607701](cotes2020/jekyll-theme-chirpy@f607701))
* **search:** avoid missing spaces between paragraphs in search results ([#2199](cotes2020/jekyll-theme-chirpy#2199)) ([95a6814](cotes2020/jekyll-theme-chirpy@95a6814))
* **ui:** fix incomplete border color on hover for tags ([#2359](cotes2020/jekyll-theme-chirpy#2359)) ([5287ead](cotes2020/jekyll-theme-chirpy@5287ead))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([#2289](cotes2020/jekyll-theme-chirpy#2289)) ([d460704](cotes2020/jekyll-theme-chirpy@d460704))
damilola-oladele added a commit to damilola-oladele/damilola-oladele.github.io that referenced this pull request Jul 4, 2025
* chore(release): 7.0.1

## [7.0.1](cotes2020/jekyll-theme-chirpy@v7.0.0...v7.0.1) (2024-05-18)

### Bug Fixes

* **analytics:** goatcounter pv greater than 1K cannot be converted to numbers ([#1762](cotes2020/jekyll-theme-chirpy#1762)) ([33a1fa7](cotes2020/jekyll-theme-chirpy@33a1fa7))
* audio/video path apply variable `media_subpath` ([#1745](cotes2020/jekyll-theme-chirpy#1745)) ([00a27a1](cotes2020/jekyll-theme-chirpy@00a27a1))

* feat: add Bluesky social links (#1759)

* docs: correct markdown syntax of tutorial (#1787)

* refactor: restore shell script extensions

Without an extension, the shell script configuration in `.gitattribute` will not work.

* feat(dev): support vscode dev-container (#1781)

* build(deps-dev): bump the npm group across 1 directory with 8 updates

Updates the requirements on [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties), [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env), [conventional-changelog-conventionalcommits](https://github.com/conventional-changelog/conventional-changelog/tree/HEAD/packages/conventional-changelog-conventionalcommits), [rollup](https://github.com/rollup/rollup), [rollup-plugin-license](https://github.com/mjeanroy/rollup-plugin-license), [semantic-release](https://github.com/semantic-release/semantic-release) and [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.

Updates `@babel/core` to 7.24.6
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-core)

Updates `@babel/plugin-transform-class-properties` to 7.24.6
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-plugin-transform-class-properties)

Updates `@babel/preset-env` to 7.24.6
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-preset-env)

Updates `conventional-changelog-conventionalcommits` from 7.0.2 to 8.0.0
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-conventionalcommits/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/commits/conventional-changelog-conventionalcommits-v8.0.0/packages/conventional-changelog-conventionalcommits)

Updates `rollup` to 4.18.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.17.2...v4.18.0)

Updates `rollup-plugin-license` to 3.4.0
- [Changelog](https://github.com/mjeanroy/rollup-plugin-license/blob/master/CHANGELOG.md)
- [Commits](mjeanroy/rollup-plugin-license@v3.3.1...v3.4.0)

Updates `semantic-release` from 23.1.1 to 24.0.0
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](semantic-release/semantic-release@v23.1.1...v24.0.0)

Updates `stylelint` to 16.6.1
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@16.5.0...16.6.1)

* build(deps): improve dependency grouping

* docs: change ordering of badges

* build(deps-dev): remove package `rollup-plugin-license` (#1796)

The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it.

As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).

Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem.

* chore: upgrade `husky` v9 settings

* build(devcontainer): add omz plugins & verify extension signature

VSCode fixed signature validation hangs in v1.90

* fix: adapt the giscus localization parameter (#1810)

* docs: unify the style of badges

* feat(ui): improve visibility of inline code (#1831)

* chore: fix typos in project files and docs

* refactor: fix typos in locale variable

statment -> statement

* build(deps-dev): bump the dev-deps group with 3 updates (#1824)

Updates the requirements on [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties) and [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) to permit the latest version.

Updates `@babel/core` to 7.24.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-core)

Updates `@babel/plugin-transform-class-properties` to 7.24.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-plugin-transform-class-properties)

Updates `@babel/preset-env` to 7.24.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  dependency-group: dev-deps
- dependency-name: "@babel/plugin-transform-class-properties"
  dependency-type: direct:development
  dependency-group: dev-deps
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  dependency-group: dev-deps
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(ui): make `info-prompt` icon looks like the letter "i" (#1835)

* feat: add Reddit social option (#1836)

* feat: add Threads social links (#1837)

* feat(dev): add vscode tasks (#1843)

* build(dev): support for running tasks in macOS

* fix: avoid caching pageviews data (#1849)

* ci: set node version to LTS

There are some problems with the latest version.

See: https://github.com/cotes2020/jekyll-theme-chirpy/actions/runs/9977150040

* fix: remove extra dual-mode images from lightbox (#1883)

* docs: add devcontainers tutorial (#1844)

* build: update ruby version requirements

`html-proofer` 5.x requires Ruby `>= 3.1, < 4.0`

* refactor: update the sass mixed declarations (#1872)

See: https://sass-lang.com/d/mixed-decls

* chore(tools): improve the init-script

* refactor: improve the efficiency of `GLightbox` switching

Repeatedly using `GLightbox.destroy()` (>= 4 times) will cause `GLightbox` to fail to generate new objects

* build: resume platform-specific dependencies

* chore: remove duplicate config

* chore: move entries in git-ignore

* feat(analytics): add fathom analytics (#1913)

* feat(ui): improve block quote layout

* refactor: improve heading layout

* feat(ui): set `<kbd>` font to 'Lato'

* build(deps-dev): bump the dev-deps

* build: upgrade dependencies

* refactor(ui): standardize the border radius (#1920)

Impact:
- Increase the border radius of inline code and `<kbd>` tags
- Variable `$base-radius` renamed to `$radius-lg`

* chore(deps): correct `Tocbot` version number

* build: improve the JS build for PWA (#1923)

* docs: update tutorial and readme

Change Dev Containers logo in README:

Simple Icons has removed all Microsoft icons due to copyright restrictions, see <simple-icons/simple-icons#11236>

* chore(release): 7.1.0

## [7.1.0](cotes2020/jekyll-theme-chirpy@v7.0.1...v7.1.0) (2024-08-27)

### Features

* add Bluesky social links ([#1759](cotes2020/jekyll-theme-chirpy#1759)) ([0102aba](cotes2020/jekyll-theme-chirpy@0102aba))
* add Reddit social option ([#1836](cotes2020/jekyll-theme-chirpy#1836)) ([8673e13](cotes2020/jekyll-theme-chirpy@8673e13))
* add Threads social links ([#1837](cotes2020/jekyll-theme-chirpy#1837)) ([e3a78b6](cotes2020/jekyll-theme-chirpy@e3a78b6))
* **analytics:** add fathom analytics ([#1913](cotes2020/jekyll-theme-chirpy#1913)) ([befc4ce](cotes2020/jekyll-theme-chirpy@befc4ce))
* **dev:** add vscode tasks ([#1843](cotes2020/jekyll-theme-chirpy#1843)) ([e4db1a1](cotes2020/jekyll-theme-chirpy@e4db1a1))
* **dev:** support vscode dev-container ([#1781](cotes2020/jekyll-theme-chirpy#1781)) ([1e3d4a6](cotes2020/jekyll-theme-chirpy@1e3d4a6))
* **ui:** improve block quote layout ([80bd792](cotes2020/jekyll-theme-chirpy@80bd792))
* **ui:** improve visibility of inline code ([#1831](cotes2020/jekyll-theme-chirpy#1831)) ([c876731](cotes2020/jekyll-theme-chirpy@c876731))
* **ui:** make `info-prompt` icon looks like the letter "i" ([#1835](cotes2020/jekyll-theme-chirpy#1835)) ([a07a57e](cotes2020/jekyll-theme-chirpy@a07a57e))
* **ui:** set `<kbd>` font to 'Lato' ([64c7262](cotes2020/jekyll-theme-chirpy@64c7262))

### Bug Fixes

* adapt the giscus localization parameter ([#1810](cotes2020/jekyll-theme-chirpy#1810)) ([0709854](cotes2020/jekyll-theme-chirpy@0709854))
* avoid caching pageviews data ([#1849](cotes2020/jekyll-theme-chirpy#1849)) ([979f86c](cotes2020/jekyll-theme-chirpy@979f86c))
* remove extra dual-mode images from lightbox ([#1883](cotes2020/jekyll-theme-chirpy#1883)) ([5c5910f](cotes2020/jekyll-theme-chirpy@5c5910f))

* fix(i18n): correct fr-FR translations (#1949)

Co-authored-by: Denis Jean <[email protected]>

* refactor: replace deprecated meta element

Replace `apple-mobile-web-app-capable` with `mobile-web-app-capable`

* fix(pwa): site baseurl not passed to `app.js` (#1955)

* build(dev-deps): bump 7 dependencies versions

* chore(release): 7.1.1

## [7.1.1](cotes2020/jekyll-theme-chirpy@v7.1.0...v7.1.1) (2024-09-23)

### Bug Fixes

* **i18n:** correct fr-FR translations ([#1949](cotes2020/jekyll-theme-chirpy#1949)) ([367262e](cotes2020/jekyll-theme-chirpy@367262e))
* **pwa:** site baseurl not passed to `app.js` ([#1955](cotes2020/jekyll-theme-chirpy#1955)) ([5a63244](cotes2020/jekyll-theme-chirpy@5a63244))

* chore: remove `h1` element from site title (#1960)

* fix: pagination error when pinned posts exceed the page size (#1965)

* chore(i18n): update hungarian translation (#1976)

* feat: show toc on mobile screens (#1964)

* chore: close toc-popup gracefully with Esc key (#1990)

* refactor: improve toc popup module

* refactor: reduce duplicate scss

* refactor: simplify sidebar animation

* ci: block invalid pull requests (#2010)

* ci: skip test for invalid PRs (#2013)

* ci: improve workflow triggers (#2017)

- Unchain commit-lint and CI
  - Even if a commit does not meet the CI path filter, it still needs to lint the commit message.
- Unchain PR filter and CI
  - The CI workflow needs to be triggered when the commits in a pull request are modified.
- Allow manual publishing
  - Sometimes `semantic-release` will error out due to commit messages referencing discussions, but this does not affect the final RubyGems/GitHub Release. In such cases, manual triggering of the publish process is needed to complete the remaining publishing steps.

* chore: improve feed interoperability (#2024)

* build(deps): update `wdm` gem version for compatibility (#2028)

* chore: change stale label to `inactive`

* ci: reduce unnecessary pr-filter runs (#2033)

- Checking the repository of the PR is more effective than checking the label to identify bot-initiated PRs
- This change also allows more flexible PR body definitions for developers with write access to the repository

* perf: speed up page rendering and jekyll build process (#2034)

- Ensure inline scripts execute after the DOM has fully loaded.
- Use Rollup to bundle the theme-mode and Mermaid scripts, reducing the number of Jekyll include snippets.

* ci: avoid repeated runs of stylelint (#2057)

* perf: modular sass architecture (#2052)

- Modularized the Sass architecture to enhance code maintainability and reduce the output file size
- Replaced deprecated `@import` with `@use` / `@forward`

* build(deps-dev): upgrade dependencies

Close #2058

* build(deps): update dependencies version

* feat: support vertical scrolling for toc in desktop mode (#2064)

* chore(release): 7.2.0

## [7.2.0](cotes2020/jekyll-theme-chirpy@v7.1.1...v7.2.0) (2024-11-28)

### Features

* show toc on mobile screens ([#1964](cotes2020/jekyll-theme-chirpy#1964)) ([8a064a5](cotes2020/jekyll-theme-chirpy@8a064a5))
* support vertical scrolling for toc in desktop mode ([#2064](cotes2020/jekyll-theme-chirpy#2064)) ([5265b03](cotes2020/jekyll-theme-chirpy@5265b03))

### Bug Fixes

* pagination error when pinned posts exceed the page size ([#1965](cotes2020/jekyll-theme-chirpy#1965)) ([93f616b](cotes2020/jekyll-theme-chirpy@93f616b))

### Improvements

* modular sass architecture ([#2052](cotes2020/jekyll-theme-chirpy#2052)) ([35c794c](cotes2020/jekyll-theme-chirpy@35c794c))
* speed up page rendering and jekyll build process ([#2034](cotes2020/jekyll-theme-chirpy#2034)) ([65f960c](cotes2020/jekyll-theme-chirpy@65f960c))

* fix: ensure pageviews are fetched after DOM is loaded (#2071)

* build: correct the js rollup watch path (#2074)

1. Correct the rollup watch path
2. Avoid registering watch listeners redundantly across multiple tasks

* fix: correct the import condition for theme script (#2075)

* style: add indentation to js code

* fix(toc): resume fade up animation in desktop mode (#2085)

* refactor: reduce the height of the TOC bottom overlay in desktop mode

* fix(build): exclude `purgecss.js` from output files (#2090)

* chore(release): 7.2.1

## [7.2.1](cotes2020/jekyll-theme-chirpy@v7.2.0...v7.2.1) (2024-12-05)

### Bug Fixes

* **build:** exclude `purgecss.js` from output files ([#2090](cotes2020/jekyll-theme-chirpy#2090)) ([976e1a1](cotes2020/jekyll-theme-chirpy@976e1a1))
* correct the import condition for theme script ([#2075](cotes2020/jekyll-theme-chirpy#2075)) ([a16aa7d](cotes2020/jekyll-theme-chirpy@a16aa7d))
* ensure pageviews are fetched after DOM is loaded ([#2071](cotes2020/jekyll-theme-chirpy#2071)) ([b4019f3](cotes2020/jekyll-theme-chirpy@b4019f3))
* **toc:** resume fade up animation in desktop mode ([#2085](cotes2020/jekyll-theme-chirpy#2085)) ([8280adb](cotes2020/jekyll-theme-chirpy@8280adb))

* feat(i18n): add Dutch locale (#2076)

* fix: js files in subdirectories are excluded from the site output (#2101)

* chore(release): 7.2.2

## [7.2.2](cotes2020/jekyll-theme-chirpy@v7.2.1...v7.2.2) (2024-12-06)

### Bug Fixes

* js files in subdirectories are excluded from the site output ([#2101](cotes2020/jekyll-theme-chirpy#2101)) ([f55cc31](cotes2020/jekyll-theme-chirpy@f55cc31))

* fix: refreshing mermaid theme may fail (#2113)

* fix(ui): gap between TOC entries is inconsistent (#2119)

In desktop mode, H2 and the first sub-level H3 in the TOC are too close.

* fix(ui): slow script loading hides TOC fade-up effect in desktop (#2120)

* chore(release): 7.2.3

## [7.2.3](cotes2020/jekyll-theme-chirpy@v7.2.2...v7.2.3) (2024-12-15)

### Bug Fixes

* refreshing mermaid theme may fail ([#2113](cotes2020/jekyll-theme-chirpy#2113)) ([2f00d41](cotes2020/jekyll-theme-chirpy@2f00d41))
* **ui:** gap between TOC entries is inconsistent ([#2119](cotes2020/jekyll-theme-chirpy#2119)) ([1b4e318](cotes2020/jekyll-theme-chirpy@1b4e318))
* **ui:** slow script loading hides TOC fade-up effect in desktop ([#2120](cotes2020/jekyll-theme-chirpy#2120)) ([e0c3faf](cotes2020/jekyll-theme-chirpy@e0c3faf))

* fix: toc not visible when switching from mobile to desktop mode (#2139)

* docs: update the setting name for the comments

* fix(ui): left borderline of TOC is notched (#2140)

* chore(release): 7.2.4

## [7.2.4](cotes2020/jekyll-theme-chirpy@v7.2.3...v7.2.4) (2024-12-21)

### Bug Fixes

* toc not visible when switching from mobile to desktop mode ([#2139](cotes2020/jekyll-theme-chirpy#2139)) ([32051da](cotes2020/jekyll-theme-chirpy@32051da))
* **ui:** left borderline of TOC is notched ([#2140](cotes2020/jekyll-theme-chirpy#2140)) ([8a4d0bc](cotes2020/jekyll-theme-chirpy@8a4d0bc))

* fix(search): avoid missing spaces between paragraphs in search results (#2199)

- Use a common post-snippet for search results to avoid line break issues
- Reduce Jekyll include files to speed up the build
- Remove outdated key from search.json

* docs: using long form Jekyll subcommand (#2231)

* feat(i18n): add persian language (#2238)

* docs: fix typo in `2019-08-08-write-a-new-post.md` (#2281)

Signed-off-by: Corey Goldberg <[email protected]>

* perf(seo): improve accessibility and aligns with best practices (#2289)

* feat(i18n): add Japanese locale (#2295)

* chore: add parameter in `search-results.html` (#2330)

* fix: prevent the search bar from moving when focused (#2336)

* feat(i18n): add Catalan Spanish locale translation (#2349)

* fix: recognize global theme mode (#2357)

* fix(ui): fix incomplete border color on hover for tags (#2359)

* chore: update `linkedin` sharing url (#2307)

* chore(deps): remove plugin `jekyll-redirect-from`

Discussed in #2313

* refactor: move the path of `theme.js`

* chore(dev-deps): add eslint config file

* chore: avoid auto-formatting liquid and sass mixed code

* fix: avoid `mathjax` loading failure on page refresh (#2389)

* fix: improve accuracy of moving `img` element classes (#2399)

* chore: upgrade dependencies to the latest version (#2409)

* chore(release): 7.3.0

## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([#2349](cotes2020/jekyll-theme-chirpy#2349)) ([167c98c](cotes2020/jekyll-theme-chirpy@167c98c))
* **i18n:** add Dutch locale ([#2076](cotes2020/jekyll-theme-chirpy#2076)) ([981ddba](cotes2020/jekyll-theme-chirpy@981ddba))
* **i18n:** add Japanese locale ([#2295](cotes2020/jekyll-theme-chirpy#2295)) ([571c90f](cotes2020/jekyll-theme-chirpy@571c90f))
* **i18n:** add persian language ([#2238](cotes2020/jekyll-theme-chirpy#2238)) ([7d4d35c](cotes2020/jekyll-theme-chirpy@7d4d35c))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([#2389](cotes2020/jekyll-theme-chirpy#2389)) ([401e2af](cotes2020/jekyll-theme-chirpy@401e2af))
* improve accuracy of moving `img` element classes ([#2399](cotes2020/jekyll-theme-chirpy#2399)) ([d0f8f95](cotes2020/jekyll-theme-chirpy@d0f8f95))
* prevent the search bar from moving when focused ([#2336](cotes2020/jekyll-theme-chirpy#2336)) ([f744929](cotes2020/jekyll-theme-chirpy@f744929))
* recognize global theme mode ([#2357](cotes2020/jekyll-theme-chirpy#2357)) ([7708adb](cotes2020/jekyll-theme-chirpy@7708adb))
* **search:** avoid missing spaces between paragraphs in search results ([#2199](cotes2020/jekyll-theme-chirpy#2199)) ([0eb7efa](cotes2020/jekyll-theme-chirpy@0eb7efa))
* **ui:** fix incomplete border color on hover for tags ([#2359](cotes2020/jekyll-theme-chirpy#2359)) ([c626447](cotes2020/jekyll-theme-chirpy@c626447))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([#2289](cotes2020/jekyll-theme-chirpy#2289)) ([54d4d59](cotes2020/jekyll-theme-chirpy@54d4d59))

* feat(i18n): add Danish locale (#2410)

* feat(i18n): add locale files for some rtl languages (#2415)

* fix: correct GoatCounter pageviews extraction (#2420)

* fix: resolve discrepancy in lqip between post and main page (#2453)

* remove unnecessary workflows

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Corey Goldberg <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: Cotes Chung <[email protected]>
Co-authored-by: Jason <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Singleton <[email protected]>
Co-authored-by: Alexander Fuks <[email protected]>
Co-authored-by: Andrew <[email protected]>
Co-authored-by: Julius Gamanyi <[email protected]>
Co-authored-by: denis-games <[email protected]>
Co-authored-by: Denis Jean <[email protected]>
Co-authored-by: Bence Boros <[email protected]>
Co-authored-by: Supreeth Mysore Venkatesh <[email protected]>
Co-authored-by: cheese <[email protected]>
Co-authored-by: algorithmic-parallels <[email protected]>
Co-authored-by: MasihGhaznavi <[email protected]>
Co-authored-by: Corey Goldberg <[email protected]>
Co-authored-by: Türkalp Burak KAYRANCIOĞLU <[email protected]>
Co-authored-by: nakamura <[email protected]>
Co-authored-by: Alejandro <[email protected]>
Co-authored-by: László Várady <[email protected]>
Co-authored-by: Delyn Choong <[email protected]>
Co-authored-by: László Várady <[email protected]>
Co-authored-by: iSpeakNerd <[email protected]>
Co-authored-by: Nicolai Skødt Holmgaard <[email protected]>
Co-authored-by: Zakaria Fatahi <[email protected]>
Co-authored-by: Josh Wickham <[email protected]>
Co-authored-by: activus-d <[email protected]>
damilola-oladele added a commit to damilola-oladele/damilola-oladele.github.io that referenced this pull request Jul 4, 2025
* chore(release): 7.0.1

## [7.0.1](cotes2020/jekyll-theme-chirpy@v7.0.0...v7.0.1) (2024-05-18)

### Bug Fixes

* **analytics:** goatcounter pv greater than 1K cannot be converted to numbers ([#1762](cotes2020/jekyll-theme-chirpy#1762)) ([33a1fa7](cotes2020/jekyll-theme-chirpy@33a1fa7))
* audio/video path apply variable `media_subpath` ([#1745](cotes2020/jekyll-theme-chirpy#1745)) ([00a27a1](cotes2020/jekyll-theme-chirpy@00a27a1))

* feat: add Bluesky social links (#1759)

* docs: correct markdown syntax of tutorial (#1787)

* refactor: restore shell script extensions

Without an extension, the shell script configuration in `.gitattribute` will not work.

* feat(dev): support vscode dev-container (#1781)

* build(deps-dev): bump the npm group across 1 directory with 8 updates

Updates the requirements on [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties), [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env), [conventional-changelog-conventionalcommits](https://github.com/conventional-changelog/conventional-changelog/tree/HEAD/packages/conventional-changelog-conventionalcommits), [rollup](https://github.com/rollup/rollup), [rollup-plugin-license](https://github.com/mjeanroy/rollup-plugin-license), [semantic-release](https://github.com/semantic-release/semantic-release) and [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.

Updates `@babel/core` to 7.24.6
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-core)

Updates `@babel/plugin-transform-class-properties` to 7.24.6
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-plugin-transform-class-properties)

Updates `@babel/preset-env` to 7.24.6
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-preset-env)

Updates `conventional-changelog-conventionalcommits` from 7.0.2 to 8.0.0
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-conventionalcommits/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/commits/conventional-changelog-conventionalcommits-v8.0.0/packages/conventional-changelog-conventionalcommits)

Updates `rollup` to 4.18.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.17.2...v4.18.0)

Updates `rollup-plugin-license` to 3.4.0
- [Changelog](https://github.com/mjeanroy/rollup-plugin-license/blob/master/CHANGELOG.md)
- [Commits](mjeanroy/rollup-plugin-license@v3.3.1...v3.4.0)

Updates `semantic-release` from 23.1.1 to 24.0.0
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](semantic-release/semantic-release@v23.1.1...v24.0.0)

Updates `stylelint` to 16.6.1
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@16.5.0...16.6.1)

* build(deps): improve dependency grouping

* docs: change ordering of badges

* build(deps-dev): remove package `rollup-plugin-license` (#1796)

The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it.

As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).

Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem.

* chore: upgrade `husky` v9 settings

* build(devcontainer): add omz plugins & verify extension signature

VSCode fixed signature validation hangs in v1.90

* fix: adapt the giscus localization parameter (#1810)

* docs: unify the style of badges

* feat(ui): improve visibility of inline code (#1831)

* chore: fix typos in project files and docs

* refactor: fix typos in locale variable

statment -> statement

* build(deps-dev): bump the dev-deps group with 3 updates (#1824)

Updates the requirements on [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties) and [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) to permit the latest version.

Updates `@babel/core` to 7.24.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-core)

Updates `@babel/plugin-transform-class-properties` to 7.24.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-plugin-transform-class-properties)

Updates `@babel/preset-env` to 7.24.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  dependency-group: dev-deps
- dependency-name: "@babel/plugin-transform-class-properties"
  dependency-type: direct:development
  dependency-group: dev-deps
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  dependency-group: dev-deps
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(ui): make `info-prompt` icon looks like the letter "i" (#1835)

* feat: add Reddit social option (#1836)

* feat: add Threads social links (#1837)

* feat(dev): add vscode tasks (#1843)

* build(dev): support for running tasks in macOS

* fix: avoid caching pageviews data (#1849)

* ci: set node version to LTS

There are some problems with the latest version.

See: https://github.com/cotes2020/jekyll-theme-chirpy/actions/runs/9977150040

* fix: remove extra dual-mode images from lightbox (#1883)

* docs: add devcontainers tutorial (#1844)

* build: update ruby version requirements

`html-proofer` 5.x requires Ruby `>= 3.1, < 4.0`

* refactor: update the sass mixed declarations (#1872)

See: https://sass-lang.com/d/mixed-decls

* chore(tools): improve the init-script

* refactor: improve the efficiency of `GLightbox` switching

Repeatedly using `GLightbox.destroy()` (>= 4 times) will cause `GLightbox` to fail to generate new objects

* build: resume platform-specific dependencies

* chore: remove duplicate config

* chore: move entries in git-ignore

* feat(analytics): add fathom analytics (#1913)

* feat(ui): improve block quote layout

* refactor: improve heading layout

* feat(ui): set `<kbd>` font to 'Lato'

* build(deps-dev): bump the dev-deps

* build: upgrade dependencies

* refactor(ui): standardize the border radius (#1920)

Impact:
- Increase the border radius of inline code and `<kbd>` tags
- Variable `$base-radius` renamed to `$radius-lg`

* chore(deps): correct `Tocbot` version number

* build: improve the JS build for PWA (#1923)

* docs: update tutorial and readme

Change Dev Containers logo in README:

Simple Icons has removed all Microsoft icons due to copyright restrictions, see <simple-icons/simple-icons#11236>

* chore(release): 7.1.0

## [7.1.0](cotes2020/jekyll-theme-chirpy@v7.0.1...v7.1.0) (2024-08-27)

### Features

* add Bluesky social links ([#1759](cotes2020/jekyll-theme-chirpy#1759)) ([0102aba](cotes2020/jekyll-theme-chirpy@0102aba))
* add Reddit social option ([#1836](cotes2020/jekyll-theme-chirpy#1836)) ([8673e13](cotes2020/jekyll-theme-chirpy@8673e13))
* add Threads social links ([#1837](cotes2020/jekyll-theme-chirpy#1837)) ([e3a78b6](cotes2020/jekyll-theme-chirpy@e3a78b6))
* **analytics:** add fathom analytics ([#1913](cotes2020/jekyll-theme-chirpy#1913)) ([befc4ce](cotes2020/jekyll-theme-chirpy@befc4ce))
* **dev:** add vscode tasks ([#1843](cotes2020/jekyll-theme-chirpy#1843)) ([e4db1a1](cotes2020/jekyll-theme-chirpy@e4db1a1))
* **dev:** support vscode dev-container ([#1781](cotes2020/jekyll-theme-chirpy#1781)) ([1e3d4a6](cotes2020/jekyll-theme-chirpy@1e3d4a6))
* **ui:** improve block quote layout ([80bd792](cotes2020/jekyll-theme-chirpy@80bd792))
* **ui:** improve visibility of inline code ([#1831](cotes2020/jekyll-theme-chirpy#1831)) ([c876731](cotes2020/jekyll-theme-chirpy@c876731))
* **ui:** make `info-prompt` icon looks like the letter "i" ([#1835](cotes2020/jekyll-theme-chirpy#1835)) ([a07a57e](cotes2020/jekyll-theme-chirpy@a07a57e))
* **ui:** set `<kbd>` font to 'Lato' ([64c7262](cotes2020/jekyll-theme-chirpy@64c7262))

### Bug Fixes

* adapt the giscus localization parameter ([#1810](cotes2020/jekyll-theme-chirpy#1810)) ([0709854](cotes2020/jekyll-theme-chirpy@0709854))
* avoid caching pageviews data ([#1849](cotes2020/jekyll-theme-chirpy#1849)) ([979f86c](cotes2020/jekyll-theme-chirpy@979f86c))
* remove extra dual-mode images from lightbox ([#1883](cotes2020/jekyll-theme-chirpy#1883)) ([5c5910f](cotes2020/jekyll-theme-chirpy@5c5910f))

* fix(i18n): correct fr-FR translations (#1949)

Co-authored-by: Denis Jean <[email protected]>

* refactor: replace deprecated meta element

Replace `apple-mobile-web-app-capable` with `mobile-web-app-capable`

* fix(pwa): site baseurl not passed to `app.js` (#1955)

* build(dev-deps): bump 7 dependencies versions

* chore(release): 7.1.1

## [7.1.1](cotes2020/jekyll-theme-chirpy@v7.1.0...v7.1.1) (2024-09-23)

### Bug Fixes

* **i18n:** correct fr-FR translations ([#1949](cotes2020/jekyll-theme-chirpy#1949)) ([367262e](cotes2020/jekyll-theme-chirpy@367262e))
* **pwa:** site baseurl not passed to `app.js` ([#1955](cotes2020/jekyll-theme-chirpy#1955)) ([5a63244](cotes2020/jekyll-theme-chirpy@5a63244))

* chore: remove `h1` element from site title (#1960)

* fix: pagination error when pinned posts exceed the page size (#1965)

* chore(i18n): update hungarian translation (#1976)

* feat: show toc on mobile screens (#1964)

* chore: close toc-popup gracefully with Esc key (#1990)

* refactor: improve toc popup module

* refactor: reduce duplicate scss

* refactor: simplify sidebar animation

* ci: block invalid pull requests (#2010)

* ci: skip test for invalid PRs (#2013)

* ci: improve workflow triggers (#2017)

- Unchain commit-lint and CI
  - Even if a commit does not meet the CI path filter, it still needs to lint the commit message.
- Unchain PR filter and CI
  - The CI workflow needs to be triggered when the commits in a pull request are modified.
- Allow manual publishing
  - Sometimes `semantic-release` will error out due to commit messages referencing discussions, but this does not affect the final RubyGems/GitHub Release. In such cases, manual triggering of the publish process is needed to complete the remaining publishing steps.

* chore: improve feed interoperability (#2024)

* build(deps): update `wdm` gem version for compatibility (#2028)

* chore: change stale label to `inactive`

* ci: reduce unnecessary pr-filter runs (#2033)

- Checking the repository of the PR is more effective than checking the label to identify bot-initiated PRs
- This change also allows more flexible PR body definitions for developers with write access to the repository

* perf: speed up page rendering and jekyll build process (#2034)

- Ensure inline scripts execute after the DOM has fully loaded.
- Use Rollup to bundle the theme-mode and Mermaid scripts, reducing the number of Jekyll include snippets.

* ci: avoid repeated runs of stylelint (#2057)

* perf: modular sass architecture (#2052)

- Modularized the Sass architecture to enhance code maintainability and reduce the output file size
- Replaced deprecated `@import` with `@use` / `@forward`

* build(deps-dev): upgrade dependencies

Close #2058

* build(deps): update dependencies version

* feat: support vertical scrolling for toc in desktop mode (#2064)

* chore(release): 7.2.0

## [7.2.0](cotes2020/jekyll-theme-chirpy@v7.1.1...v7.2.0) (2024-11-28)

### Features

* show toc on mobile screens ([#1964](cotes2020/jekyll-theme-chirpy#1964)) ([8a064a5](cotes2020/jekyll-theme-chirpy@8a064a5))
* support vertical scrolling for toc in desktop mode ([#2064](cotes2020/jekyll-theme-chirpy#2064)) ([5265b03](cotes2020/jekyll-theme-chirpy@5265b03))

### Bug Fixes

* pagination error when pinned posts exceed the page size ([#1965](cotes2020/jekyll-theme-chirpy#1965)) ([93f616b](cotes2020/jekyll-theme-chirpy@93f616b))

### Improvements

* modular sass architecture ([#2052](cotes2020/jekyll-theme-chirpy#2052)) ([35c794c](cotes2020/jekyll-theme-chirpy@35c794c))
* speed up page rendering and jekyll build process ([#2034](cotes2020/jekyll-theme-chirpy#2034)) ([65f960c](cotes2020/jekyll-theme-chirpy@65f960c))

* fix: ensure pageviews are fetched after DOM is loaded (#2071)

* build: correct the js rollup watch path (#2074)

1. Correct the rollup watch path
2. Avoid registering watch listeners redundantly across multiple tasks

* fix: correct the import condition for theme script (#2075)

* style: add indentation to js code

* fix(toc): resume fade up animation in desktop mode (#2085)

* refactor: reduce the height of the TOC bottom overlay in desktop mode

* fix(build): exclude `purgecss.js` from output files (#2090)

* chore(release): 7.2.1

## [7.2.1](cotes2020/jekyll-theme-chirpy@v7.2.0...v7.2.1) (2024-12-05)

### Bug Fixes

* **build:** exclude `purgecss.js` from output files ([#2090](cotes2020/jekyll-theme-chirpy#2090)) ([976e1a1](cotes2020/jekyll-theme-chirpy@976e1a1))
* correct the import condition for theme script ([#2075](cotes2020/jekyll-theme-chirpy#2075)) ([a16aa7d](cotes2020/jekyll-theme-chirpy@a16aa7d))
* ensure pageviews are fetched after DOM is loaded ([#2071](cotes2020/jekyll-theme-chirpy#2071)) ([b4019f3](cotes2020/jekyll-theme-chirpy@b4019f3))
* **toc:** resume fade up animation in desktop mode ([#2085](cotes2020/jekyll-theme-chirpy#2085)) ([8280adb](cotes2020/jekyll-theme-chirpy@8280adb))

* feat(i18n): add Dutch locale (#2076)

* fix: js files in subdirectories are excluded from the site output (#2101)

* chore(release): 7.2.2

## [7.2.2](cotes2020/jekyll-theme-chirpy@v7.2.1...v7.2.2) (2024-12-06)

### Bug Fixes

* js files in subdirectories are excluded from the site output ([#2101](cotes2020/jekyll-theme-chirpy#2101)) ([f55cc31](cotes2020/jekyll-theme-chirpy@f55cc31))

* fix: refreshing mermaid theme may fail (#2113)

* fix(ui): gap between TOC entries is inconsistent (#2119)

In desktop mode, H2 and the first sub-level H3 in the TOC are too close.

* fix(ui): slow script loading hides TOC fade-up effect in desktop (#2120)

* chore(release): 7.2.3

## [7.2.3](cotes2020/jekyll-theme-chirpy@v7.2.2...v7.2.3) (2024-12-15)

### Bug Fixes

* refreshing mermaid theme may fail ([#2113](cotes2020/jekyll-theme-chirpy#2113)) ([2f00d41](cotes2020/jekyll-theme-chirpy@2f00d41))
* **ui:** gap between TOC entries is inconsistent ([#2119](cotes2020/jekyll-theme-chirpy#2119)) ([1b4e318](cotes2020/jekyll-theme-chirpy@1b4e318))
* **ui:** slow script loading hides TOC fade-up effect in desktop ([#2120](cotes2020/jekyll-theme-chirpy#2120)) ([e0c3faf](cotes2020/jekyll-theme-chirpy@e0c3faf))

* fix: toc not visible when switching from mobile to desktop mode (#2139)

* docs: update the setting name for the comments

* fix(ui): left borderline of TOC is notched (#2140)

* chore(release): 7.2.4

## [7.2.4](cotes2020/jekyll-theme-chirpy@v7.2.3...v7.2.4) (2024-12-21)

### Bug Fixes

* toc not visible when switching from mobile to desktop mode ([#2139](cotes2020/jekyll-theme-chirpy#2139)) ([32051da](cotes2020/jekyll-theme-chirpy@32051da))
* **ui:** left borderline of TOC is notched ([#2140](cotes2020/jekyll-theme-chirpy#2140)) ([8a4d0bc](cotes2020/jekyll-theme-chirpy@8a4d0bc))

* fix(search): avoid missing spaces between paragraphs in search results (#2199)

- Use a common post-snippet for search results to avoid line break issues
- Reduce Jekyll include files to speed up the build
- Remove outdated key from search.json

* docs: using long form Jekyll subcommand (#2231)

* feat(i18n): add persian language (#2238)

* docs: fix typo in `2019-08-08-write-a-new-post.md` (#2281)

Signed-off-by: Corey Goldberg <[email protected]>

* perf(seo): improve accessibility and aligns with best practices (#2289)

* feat(i18n): add Japanese locale (#2295)

* chore: add parameter in `search-results.html` (#2330)

* fix: prevent the search bar from moving when focused (#2336)

* feat(i18n): add Catalan Spanish locale translation (#2349)

* fix: recognize global theme mode (#2357)

* fix(ui): fix incomplete border color on hover for tags (#2359)

* chore: update `linkedin` sharing url (#2307)

* chore(deps): remove plugin `jekyll-redirect-from`

Discussed in #2313

* refactor: move the path of `theme.js`

* chore(dev-deps): add eslint config file

* chore: avoid auto-formatting liquid and sass mixed code

* fix: avoid `mathjax` loading failure on page refresh (#2389)

* fix: improve accuracy of moving `img` element classes (#2399)

* chore: upgrade dependencies to the latest version (#2409)

* chore(release): 7.3.0

## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([#2349](cotes2020/jekyll-theme-chirpy#2349)) ([167c98c](cotes2020/jekyll-theme-chirpy@167c98c))
* **i18n:** add Dutch locale ([#2076](cotes2020/jekyll-theme-chirpy#2076)) ([981ddba](cotes2020/jekyll-theme-chirpy@981ddba))
* **i18n:** add Japanese locale ([#2295](cotes2020/jekyll-theme-chirpy#2295)) ([571c90f](cotes2020/jekyll-theme-chirpy@571c90f))
* **i18n:** add persian language ([#2238](cotes2020/jekyll-theme-chirpy#2238)) ([7d4d35c](cotes2020/jekyll-theme-chirpy@7d4d35c))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([#2389](cotes2020/jekyll-theme-chirpy#2389)) ([401e2af](cotes2020/jekyll-theme-chirpy@401e2af))
* improve accuracy of moving `img` element classes ([#2399](cotes2020/jekyll-theme-chirpy#2399)) ([d0f8f95](cotes2020/jekyll-theme-chirpy@d0f8f95))
* prevent the search bar from moving when focused ([#2336](cotes2020/jekyll-theme-chirpy#2336)) ([f744929](cotes2020/jekyll-theme-chirpy@f744929))
* recognize global theme mode ([#2357](cotes2020/jekyll-theme-chirpy#2357)) ([7708adb](cotes2020/jekyll-theme-chirpy@7708adb))
* **search:** avoid missing spaces between paragraphs in search results ([#2199](cotes2020/jekyll-theme-chirpy#2199)) ([0eb7efa](cotes2020/jekyll-theme-chirpy@0eb7efa))
* **ui:** fix incomplete border color on hover for tags ([#2359](cotes2020/jekyll-theme-chirpy#2359)) ([c626447](cotes2020/jekyll-theme-chirpy@c626447))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([#2289](cotes2020/jekyll-theme-chirpy#2289)) ([54d4d59](cotes2020/jekyll-theme-chirpy@54d4d59))

* feat(i18n): add Danish locale (#2410)

* feat(i18n): add locale files for some rtl languages (#2415)

* fix: correct GoatCounter pageviews extraction (#2420)

* fix: resolve discrepancy in lqip between post and main page (#2453)

* remove unnecessary workflows

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Corey Goldberg <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: Cotes Chung <[email protected]>
Co-authored-by: Jason <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Singleton <[email protected]>
Co-authored-by: Alexander Fuks <[email protected]>
Co-authored-by: Andrew <[email protected]>
Co-authored-by: Julius Gamanyi <[email protected]>
Co-authored-by: denis-games <[email protected]>
Co-authored-by: Denis Jean <[email protected]>
Co-authored-by: Bence Boros <[email protected]>
Co-authored-by: Supreeth Mysore Venkatesh <[email protected]>
Co-authored-by: cheese <[email protected]>
Co-authored-by: algorithmic-parallels <[email protected]>
Co-authored-by: MasihGhaznavi <[email protected]>
Co-authored-by: Corey Goldberg <[email protected]>
Co-authored-by: Türkalp Burak KAYRANCIOĞLU <[email protected]>
Co-authored-by: nakamura <[email protected]>
Co-authored-by: Alejandro <[email protected]>
Co-authored-by: László Várady <[email protected]>
Co-authored-by: Delyn Choong <[email protected]>
Co-authored-by: László Várady <[email protected]>
Co-authored-by: iSpeakNerd <[email protected]>
Co-authored-by: Nicolai Skødt Holmgaard <[email protected]>
Co-authored-by: Zakaria Fatahi <[email protected]>
Co-authored-by: Josh Wickham <[email protected]>
Co-authored-by: activus-d <[email protected]>
hjlee0710 pushed a commit to hjlee0710/hjlee0710.github.io that referenced this pull request Jul 9, 2025
hjlee0710 pushed a commit to hjlee0710/hjlee0710.github.io that referenced this pull request Jul 9, 2025
## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([cotes2020#2349](cotes2020#2349)) ([167c98c](cotes2020@19a146a))
* **i18n:** add Dutch locale ([cotes2020#2076](cotes2020#2076)) ([981ddba](cotes2020@c7fe5e2))
* **i18n:** add Japanese locale ([cotes2020#2295](cotes2020#2295)) ([571c90f](cotes2020@b057d41))
* **i18n:** add persian language ([cotes2020#2238](cotes2020#2238)) ([7d4d35c](cotes2020@9da427d))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([cotes2020#2389](cotes2020#2389)) ([401e2af](cotes2020@9138bba))
* improve accuracy of moving `img` element classes ([cotes2020#2399](cotes2020#2399)) ([d0f8f95](cotes2020@0aea579))
* prevent the search bar from moving when focused ([cotes2020#2336](cotes2020#2336)) ([f744929](cotes2020@a6f640e))
* recognize global theme mode ([cotes2020#2357](cotes2020#2357)) ([7708adb](cotes2020@0e0c4d8))
* **search:** avoid missing spaces between paragraphs in search results ([cotes2020#2199](cotes2020#2199)) ([0eb7efa](cotes2020@0728292))
* **ui:** fix incomplete border color on hover for tags ([cotes2020#2359](cotes2020#2359)) ([c626447](cotes2020@9585537))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([cotes2020#2289](cotes2020#2289)) ([54d4d59](cotes2020@55f704d))
hjlee0710 pushed a commit to hjlee0710/hjlee0710.github.io that referenced this pull request Jul 9, 2025
hjlee0710 pushed a commit to hjlee0710/hjlee0710.github.io that referenced this pull request Jul 9, 2025
hjlee0710 pushed a commit to hjlee0710/hjlee0710.github.io that referenced this pull request Jul 9, 2025
## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([cotes2020#2349](cotes2020#2349)) ([167c98c](cotes2020@3e319aa))
* **i18n:** add Dutch locale ([cotes2020#2076](cotes2020#2076)) ([981ddba](cotes2020@bd3ba5f))
* **i18n:** add Japanese locale ([cotes2020#2295](cotes2020#2295)) ([571c90f](cotes2020@183be66))
* **i18n:** add persian language ([cotes2020#2238](cotes2020#2238)) ([7d4d35c](cotes2020@fdedf54))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([cotes2020#2389](cotes2020#2389)) ([401e2af](cotes2020@4f272b7))
* improve accuracy of moving `img` element classes ([cotes2020#2399](cotes2020#2399)) ([d0f8f95](cotes2020@bcd54a5))
* prevent the search bar from moving when focused ([cotes2020#2336](cotes2020#2336)) ([f744929](cotes2020@dc254b8))
* recognize global theme mode ([cotes2020#2357](cotes2020#2357)) ([7708adb](cotes2020@c2d065b))
* **search:** avoid missing spaces between paragraphs in search results ([cotes2020#2199](cotes2020#2199)) ([0eb7efa](cotes2020@f9a955c))
* **ui:** fix incomplete border color on hover for tags ([cotes2020#2359](cotes2020#2359)) ([c626447](cotes2020@d456e6e))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([cotes2020#2289](cotes2020#2289)) ([54d4d59](cotes2020@e32e6e8))
hjlee0710 pushed a commit to hjlee0710/hjlee0710.github.io that referenced this pull request Jul 9, 2025
## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([cotes2020#2349](cotes2020#2349)) ([167c98c](cotes2020@bdc7455))
* **i18n:** add Dutch locale ([cotes2020#2076](cotes2020#2076)) ([981ddba](cotes2020@63ccfbc))
* **i18n:** add Japanese locale ([cotes2020#2295](cotes2020#2295)) ([571c90f](cotes2020@adc197e))
* **i18n:** add persian language ([cotes2020#2238](cotes2020#2238)) ([7d4d35c](cotes2020@11c3d0f))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([cotes2020#2389](cotes2020#2389)) ([401e2af](cotes2020@43ea6dd))
* improve accuracy of moving `img` element classes ([cotes2020#2399](cotes2020#2399)) ([d0f8f95](cotes2020@ac32376))
* prevent the search bar from moving when focused ([cotes2020#2336](cotes2020#2336)) ([f744929](cotes2020@b3cd131))
* recognize global theme mode ([cotes2020#2357](cotes2020#2357)) ([7708adb](cotes2020@c938d14))
* **search:** avoid missing spaces between paragraphs in search results ([cotes2020#2199](cotes2020#2199)) ([0eb7efa](cotes2020@5740185))
* **ui:** fix incomplete border color on hover for tags ([cotes2020#2359](cotes2020#2359)) ([c626447](cotes2020@64e515e))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([cotes2020#2289](cotes2020#2289)) ([54d4d59](cotes2020@eef48d9))
hjlee0710 pushed a commit to hjlee0710/hjlee0710.github.io that referenced this pull request Jul 9, 2025
hjlee0710 pushed a commit to hjlee0710/hjlee0710.github.io that referenced this pull request Jul 9, 2025
## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([cotes2020#2349](cotes2020#2349)) ([167c98c](cotes2020@b0d894d))
* **i18n:** add Dutch locale ([cotes2020#2076](cotes2020#2076)) ([981ddba](cotes2020@4cade0b))
* **i18n:** add Japanese locale ([cotes2020#2295](cotes2020#2295)) ([571c90f](cotes2020@e082d56))
* **i18n:** add persian language ([cotes2020#2238](cotes2020#2238)) ([7d4d35c](cotes2020@f7ef9ac))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([cotes2020#2389](cotes2020#2389)) ([401e2af](cotes2020@1b74140))
* improve accuracy of moving `img` element classes ([cotes2020#2399](cotes2020#2399)) ([d0f8f95](cotes2020@3de8c65))
* prevent the search bar from moving when focused ([cotes2020#2336](cotes2020#2336)) ([f744929](cotes2020@c31af77))
* recognize global theme mode ([cotes2020#2357](cotes2020#2357)) ([7708adb](cotes2020@1d5ce66))
* **search:** avoid missing spaces between paragraphs in search results ([cotes2020#2199](cotes2020#2199)) ([0eb7efa](cotes2020@da3571b))
* **ui:** fix incomplete border color on hover for tags ([cotes2020#2359](cotes2020#2359)) ([c626447](cotes2020@5f216b9))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([cotes2020#2289](cotes2020#2289)) ([54d4d59](cotes2020@b71d038))
CoBool pushed a commit to CoBool/cobool.github.io that referenced this pull request Jul 21, 2025
ibralyousef pushed a commit to ibralyousef/ibralyousef.github.io that referenced this pull request Aug 25, 2025
ibralyousef pushed a commit to ibralyousef/ibralyousef.github.io that referenced this pull request Aug 25, 2025
## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([cotes2020#2349](cotes2020#2349)) ([167c98c](cotes2020@167c98c))
* **i18n:** add Dutch locale ([cotes2020#2076](cotes2020#2076)) ([981ddba](cotes2020@981ddba))
* **i18n:** add Japanese locale ([cotes2020#2295](cotes2020#2295)) ([571c90f](cotes2020@571c90f))
* **i18n:** add persian language ([cotes2020#2238](cotes2020#2238)) ([7d4d35c](cotes2020@7d4d35c))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([cotes2020#2389](cotes2020#2389)) ([401e2af](cotes2020@401e2af))
* improve accuracy of moving `img` element classes ([cotes2020#2399](cotes2020#2399)) ([d0f8f95](cotes2020@d0f8f95))
* prevent the search bar from moving when focused ([cotes2020#2336](cotes2020#2336)) ([f744929](cotes2020@f744929))
* recognize global theme mode ([cotes2020#2357](cotes2020#2357)) ([7708adb](cotes2020@7708adb))
* **search:** avoid missing spaces between paragraphs in search results ([cotes2020#2199](cotes2020#2199)) ([0eb7efa](cotes2020@0eb7efa))
* **ui:** fix incomplete border color on hover for tags ([cotes2020#2359](cotes2020#2359)) ([c626447](cotes2020@c626447))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([cotes2020#2289](cotes2020#2289)) ([54d4d59](cotes2020@54d4d59))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Border Radius for Images is not working as expected
1 participant