Cotes Chung
1c5fa0880d
refactor: restore shell script extensions
...
Without an extension, the shell script configuration in `.gitattribute` will not work.
2024-06-01 04:15:09 +08:00
Cotes Chung
64ae7a3671
docs: correct markdown syntax of tutorial ( #1787 )
2024-05-30 03:33:35 +08:00
Jason
0102abae06
feat: add Bluesky social links ( #1759 )
2024-05-18 19:05:09 +08:00
semantic-release-bot
6cb1a5ac52
Merge branch 'production'
2024-05-18 11:01:37 +00:00
semantic-release-bot
20987f2afe
chore(release): 7.0.1
...
## [7.0.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.0.0...v7.0.1 ) (2024-05-18)
### Bug Fixes
* **analytics:** goatcounter pv greater than 1K cannot be converted to numbers ([#1762 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1762 )) ([33a1fa7
](33a1fa7cae
))
* audio/video path apply variable `media_subpath` ([#1745 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1745 )) ([00a27a1
](00a27a1b85
))
2024-05-18 11:01:22 +00:00
Cotes Chung
39e4338839
Merge branch 'hotfix/7.0.1' into production
2024-05-18 18:58:08 +08:00
Cotes Chung
33a1fa7cae
fix(analytics): goatcounter pv greater than 1K cannot be converted to numbers ( #1762 )
...
The goatcounter PV report splits numbers with spaces, e.g. 1024 would be '1 024'
2024-05-18 18:52:45 +08:00
Alexander Fuks
00a27a1b85
fix: audio/video path apply variable media_subpath
( #1745 )
2024-05-18 18:47:12 +08:00
Cotes Chung
5cdde7dbc5
ci: enable ci/style-lint for the hotfix
branches
2024-05-17 20:11:08 +08:00
Cotes Chung
c4b58e3502
build: upgrade dependencies
...
Updates `@fortawesome/fontawesome-free` to 6.5.2
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.5.1...6.5.2 )
Updates `dayjs` to 1.11.11
- [Release notes](https://github.com/iamkun/dayjs/releases )
- [Changelog](https://github.com/iamkun/dayjs/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/iamkun/dayjs/compare/v1.11.10...v1.11.11 )
Updates `mermaid` to 10.9.0
- [Release notes](https://github.com/mermaid-js/mermaid/releases )
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/mermaid-js/mermaid/compare/v10.8.0...v10.9.0 )
Updates `tocbot` to 4.27.20
- [Release notes](https://github.com/tscanlin/tocbot/releases )
- [Changelog](https://github.com/tscanlin/tocbot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tscanlin/tocbot/compare/v4.25.0...v4.27.20 )
2024-05-17 00:03:53 +08:00
Cotes Chung
9630fd647f
ci(release): pass secrets to called workflow
2024-05-12 07:35:58 +08:00
semantic-release-bot
90a4cc76bb
Merge branch 'production'
2024-05-11 07:30:47 +00:00
semantic-release-bot
e33547fe5d
chore(release): 7.0.0
...
## [7.0.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.5.5...v7.0.0 ) (2024-05-11)
### ⚠ BREAKING CHANGES
* optimize the resource hints (#1717 )
* rename media-url file and related parameters (#1651 )
* rename comment setting parameter (#1563 )
* **analytics:** add post pageviews for GoatCounter (#1543 )
### Features
* add cloudflare web analytics ([#1723 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1723 )) ([c17fba4
](c17fba44f5
))
* add support for embed video files ([#1558 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1558 )) ([9592146
](9592146ca3
))
* add support for giscus strict title matching ([#1614 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1614 )) ([700fd5b
](700fd5bad7
))
* **analytics:** add post pageviews for GoatCounter ([#1543 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1543 )) ([b641b3f
](b641b3f1f2
))
* **analytics:** add Umami and Matomo tracking codes ([#1658 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1658 )) ([61bdca2
](61bdca2db4
))
* change site verification settings ([#1561 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1561 )) ([e436387
](e4363871b5
))
* **deps:** move `MathJax` configuration to a separate file ([#1670 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1670 )) ([44f552c
](44f552cbce
))
* display theme version in footer ([#1611 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1611 )) ([8349314
](834931486d
))
* **i18n:** allow `page.lang` to override `site.lang` ([#1586 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1586 )) ([547b95c
](547b95cc7a
))
* make post description customizable ([#1602 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1602 )) ([f865336
](f865336c89
))
* **media:** support audio and video tag with multi sources ([#1618 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1618 )) ([23be416
](23be4162b3
))
### Bug Fixes
* make TOC title and entries visible at the same time ([#1711 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1711 )) ([e0950fc
](e0950fc973
))
* mode toggle not outlined when receiving keyboard focus ([#1690 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1690 )) ([cd37f63
](cd37f63a01
))
* prevent footnote back arrow from becoming an emoji ([#1716 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1716 )) ([8608147
](8608147fb5
))
* **pwa:** skip range requests in service worker ([#1672 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1672 )) ([76d58fe
](76d58fe0ff
))
* search result prompt is empty ([#1583 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1583 )) ([8a2afae
](8a2afae6ca
))
* use `https` for Weibo sharing URL ([#1612 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1612 )) ([8e5fbb7
](8e5fbb7a74
))
### Improvements
* improve <hr> visibility in dark mode ([#1565 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1565 )) ([4ddd5c4
](4ddd5c4370
))
* lean bootstrap javascript ([#1734 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1734 )) ([ddb48ed
](ddb48eda52
))
* rename comment setting parameter ([#1563 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1563 )) ([f8390d4
](f8390d4384
))
* replace jQuery with Vanilla JS ([#1681 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1681 )) ([fe7afa3
](fe7afa379f
))
* simplify mode toggle script ([#1692 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1692 )) ([d4a6d64
](d4a6d640bd
))
* tree shaking Bootstrap CSS ([#1736 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1736 )) ([363a3d9
](363a3d936b
))
### Changes
* optimize the resource hints ([#1717 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1717 )) ([dcb0add
](dcb0add47b
))
* rename media-url file and related parameters ([#1651 ](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1651 )) ([9f8aeaa
](9f8aeaadbf
))
2024-05-11 07:30:33 +00:00
Cotes Chung
09b300bc62
Merge branch 'master' into production
2024-05-11 15:03:29 +08:00
Cotes Chung
9ffd997c3b
ci(release): skip git status check in prep phase
2024-05-11 15:02:37 +08:00
Cotes Chung
37827d81e5
chore: correct npm script name
2024-05-11 14:24:15 +08:00
Cotes Chung
febc01db52
docs: update supported versions of Security Policy
2024-05-11 14:10:23 +08:00
Cotes Chung
b2245492e6
build(deps): upgrade jekyll-compress-html
to v3.2.0
2024-05-11 14:09:15 +08:00
Cotes Chung
f87fdd0ea0
build(deps): upgrade html-proofer
to v5.x
2024-05-11 14:08:39 +08:00
Cotes Chung
fdbd7f02e3
build(deps): update assets submodule
2024-05-11 13:53:15 +08:00
Cotes Chung
75891e714f
build(deps-dev): bump the npm group across 1 directory with 6 updates
...
Updates `@babel/core` to 7.24.5
- [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.5/packages/babel-core )
Updates `@babel/preset-env` to 7.24.5
- [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.5/packages/babel-preset-env )
Updates `@commitlint/cli` to 19.3.0
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.3.0/@commitlint/cli )
Updates `rollup` to 4.17.2
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.15.0...v4.17.2 )
Updates `semantic-release` to 23.1.1
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v23.0.8...v23.1.1 )
Updates `stylelint` to 16.5.0
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/16.3.1...16.5.0 )
2024-05-11 13:51:25 +08:00
Cotes Chung
363a3d936b
perf: tree shaking Bootstrap CSS ( #1736 )
2024-05-11 11:15:12 +08:00
Cotes Chung
ddb48eda52
perf: lean bootstrap javascript ( #1734 )
2024-05-11 10:29:14 +08:00
Hieu D
c17fba44f5
feat: add cloudflare web analytics ( #1723 )
2024-05-04 08:46:17 +08:00
Cotes Chung
12c340e98b
ci: update dependabot settings
2024-05-04 01:06:56 +08:00
Cotes Chung
dcb0add47b
refactor!: optimize the resource hints ( #1717 )
...
Improved the data structure for defining resource hints to the browser.
2024-05-02 05:11:45 +08:00
Cotes Chung
f1c6d2a817
build: enhance the run script
2024-05-02 03:18:35 +08:00
Cotes Chung
05ebfb705e
chore: update discussion template
2024-05-02 03:16:35 +08:00
Huanyu Shi
8608147fb5
fix: prevent footnote back arrow from becoming an emoji ( #1716 )
2024-05-01 23:12:46 +08:00
Azamat Mambetov
76d58fe0ff
fix(pwa): skip range requests in service worker ( #1672 )
2024-04-29 23:27:41 +08:00
Cotes Chung
b77767f76e
refactor: improve js module loading order
2024-04-29 03:43:33 +08:00
Cotes Chung
e0950fc973
fix: make TOC title and entries visible at the same time ( #1711 )
...
When internet connection speeds are poor, there is a chance that the title of the TOC will appear earlier than its entries, causing a visual cutoff.
2024-04-29 03:36:16 +08:00
Cotes Chung
778ebdf250
chore: delete JS comments from HTML
2024-04-29 03:25:26 +08:00
Huanyu Shi
796c386037
refactor: add date factor to the recommended posts ( #1699 )
2024-04-28 03:03:13 +08:00
Cotes Chung
72d93b132f
build: improve init tool
2024-04-28 02:51:16 +08:00
Cotes Chung
e09831ba3e
ci: specify the node version ( #1694 )
2024-04-21 01:17:35 +08:00
Cotes Chung
05e3689d17
build(deps-dev): bump the npm group with 6 updates
...
Updates `@babel/core` to 7.24.4
- [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.4/packages/babel-core )
Updates `@babel/preset-env` to 7.24.4
- [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.4/packages/babel-preset-env )
Updates `@commitlint/cli` to 19.2.2
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.2.2/@commitlint/cli )
Updates `@commitlint/config-conventional` to 19.2.2
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.2.2/@commitlint/config-conventional )
Updates `rollup` to 4.15.0
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.13.2...v4.15.0 )
Updates `stylelint-config-standard-scss` to 13.1.0
- [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases )
- [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v13.0.0...v13.1.0 )
2024-04-21 01:14:21 +08:00
Cotes Chung
d4a6d640bd
perf: simplify mode toggle script ( #1692 )
...
Reduce conditional logic to speed up theme mode initialization and switching.
2024-04-21 00:39:12 +08:00
Cotes Chung
2cfa54847a
ci: drop Ruby 3.0 and introduce Ruby 3.3 ( #1691 )
...
See: https://www.ruby-lang.org/en/downloads/branches/
2024-04-21 00:22:01 +08:00
Cotes Chung
cd37f63a01
fix: mode toggle not outlined when receiving keyboard focus ( #1690 )
...
The Tab key focus
2024-04-21 00:15:14 +08:00
Cotes Chung
015d5670a1
refactor: reduce custom CSS
2024-04-21 00:00:50 +08:00
Cotes Chung
63c51384df
chore: remove comments from compressed HTML
2024-04-20 23:59:59 +08:00
Vinicius Rocha
662cd331e3
chore: add .jekyll-metadata
to .gitignore ( #1686 )
2024-04-19 21:36:44 +08:00
Cotes Chung
d013c11c8d
docs: update readme
2024-04-17 19:25:28 +08:00
Cotes Chung
fe7afa379f
perf: replace jQuery with Vanilla JS ( #1681 )
...
Also replaced `magnific-popup` with `GLightbox`
2024-04-17 06:10:01 +08:00
Cotes Chung
c85e9e2394
ci: avoid trigger redundant workflows ( #1682 )
...
CodeQL and Sytle Lint
2024-04-17 06:00:36 +08:00
Cotes Chung
bf16d6039a
ci(release): replace standard-version
with semantic-release
( #1666 )
...
[`standard-version`](https://github.com/conventional-changelog/standard-version/ ) has been deprecated since May 2022, so it is necessary to stop using it for this project.
[**`semantic-release`**](https://github.com/semantic-release/semantic-release ) is available as a more capable alternative to help automate the release process:
1. Updating Node/Gem version numbers
2. Generating changelogs
3. Automating GitHub Releases
4. Building Chirpy-gem and pushing it to RubyGems.org
5. Create commits and tags on the `production` branch
6. Merge the `production` branch into the `master` branch
> ⚠️ Note: Step _6_ may be canceled in CD environments due to merge conflicts, so we need to do this step manually in such cases.
Whenever a commit is pushed to the release branch (`production`), all of the above release processes will be triggered.
2024-04-14 05:15:27 +08:00
Cotes Chung
8c1be9f2f3
ci: fix checkout depth for commitlint
2024-04-14 05:06:06 +08:00
Cotes Chung
7808ee157c
chore: move starter workflow into subfolder
...
The `.hook` suffix does not make it easy to maintain code in the editor
2024-04-14 04:45:52 +08:00
Cotes Chung
1914c786a0
docs: add missing head to changelog
2024-04-14 04:40:01 +08:00