Skip to content

Commit 5ea3d0f

Browse files
committed
Merge branch 'master' into production
2 parents 5b5a386 + 7887b5a commit 5ea3d0f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+572
-412
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ During JavaScript development, real-time debugging can be performed through the
3333
Firstly, start a Jekyll server:
3434

3535
```console
36-
$ bash tools/run.sh
36+
$ bash tools/run
3737
```
3838

3939
And then open a new terminal tab and run:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Please select the desired item checkbox and change it to "[x]", then delete opti
2222
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
2323
-->
2424

25-
- [ ] I have run `bash ./tools/test.sh` (at the root of the project) locally and passed
25+
- [ ] I have run `bash ./tools/test` (at the root of the project) locally and passed
2626
- [ ] I have tested this feature in the browser
2727

2828
### Test Configuration

.github/workflows/cd.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: CD
2+
on:
3+
push:
4+
branches: [production, docs]
5+
6+
jobs:
7+
launch:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- run: |
11+
curl -X POST -H "Accept: application/vnd.github+json" \
12+
-H "Authorization: Bearer ${{ secrets.GH_PAT }}" \
13+
https://api.github.com/repos/${{ secrets.BUILDER }}/dispatches \
14+
-d '{"event_type":"deploy", "client_payload":{"branch": "${{ github.ref_name }}"}}'

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@ name: 'CI'
22
on:
33
push:
44
branches-ignore:
5-
- 'release/**'
5+
- 'production'
66
- 'docs'
7-
tags-ignore:
8-
- '**'
97
paths-ignore:
108
- '.github/**'
119
- '!.github/workflows/ci.yml'
12-
- '.travis.yml'
1310
- '.gitignore'
1411
- 'README.md'
1512
- 'LICENSE'
@@ -23,7 +20,7 @@ jobs:
2320

2421
strategy:
2522
matrix:
26-
ruby: [2.5, 2.6, 2.7, 3]
23+
ruby: ['2.7', '3.0', '3.1']
2724

2825
steps:
2926
- name: Checkout
@@ -38,4 +35,4 @@ jobs:
3835
bundler-cache: true
3936

4037
- name: Test Site
41-
run: bash tools/test.sh
38+
run: bash tools/test

.github/workflows/pages-deploy.yml.hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
45-
ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
45+
ruby-version: '3.1' # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
4646
bundler-cache: true
4747

4848
- name: Build site

.github/workflows/style-lint.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ name: 'Style Lint'
22

33
on:
44
push:
5+
branches-ignore:
6+
- 'production'
7+
- 'docs'
58
paths:
6-
- '_sass/**.scss'
9+
- '_sass/**/*.scss'
710
pull_request:
811
paths:
9-
- '_sass/**.scss'
12+
- '_sass/**/*.scss'
1013

1114
jobs:
1215
stylelint:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
!.git*
44
!.editorconfig
55
!.nojekyll
6-
!.travis.yml
76
!.husky
87
!.commitlintrc.json
98
!.versionrc.json

.stylelintrc.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111
"alpha-value-notation": "number",
1212
"selector-not-notation": "simple",
1313
"color-hex-length": "long",
14-
"declaration-block-single-line-max-declarations": 3,
15-
"font-family-no-missing-generic-family-keyword": [
16-
true,
17-
{
18-
"ignoreFontFamilies": ["Font Awesome 5 Free"]
19-
}
20-
]
14+
"declaration-block-single-line-max-declarations": 3
2115
}
2216
}

.travis.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22

33
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.
44

5+
## [5.4.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.3.2...v5.4.0) (2022-12-27)
6+
7+
8+
### Features
9+
10+
* add `rel="me"` to Mastodon sidebar contact links for verification ([#807](https://github.com/cotes2020/jekyll-theme-chirpy/issues/807)) ([d2190c7](https://github.com/cotes2020/jekyll-theme-chirpy/commit/d2190c726f61c8c9732b88b4aecf699dc8bc7deb))
11+
* add embed video support ([ed6dc53](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ed6dc539eff7003a3765bcd8c31ae5e91a863d65))
12+
* add shimmer background when image loads ([ab16fdc](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ab16fdc7fc26811130b98a1773beb62bff6182e8))
13+
* set preview image ratio to 1.91 : 1 ([4b6ccbc](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4b6ccbcbccce27b9fcb035812efefe4eb69301cf))
14+
* support dark and light mode images ([#481](https://github.com/cotes2020/jekyll-theme-chirpy/issues/481)) ([9306c7b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/9306c7b39ecf9d9146bc1a25eebedc38eb2c3dd6))
15+
* support LQIP for images ([bffaf63](https://github.com/cotes2020/jekyll-theme-chirpy/commit/bffaf6374f265cec96ef743d42b46fbec3b59797))
16+
17+
18+
### Bug Fixes
19+
20+
* `hreflang` tag attribute of feed misses `site.alt_lang` ([7651d28](https://github.com/cotes2020/jekyll-theme-chirpy/commit/7651d2851b4bb7d8f0d068b62c036c89a1089bbc))
21+
* `og:image` will be incorrect if the image uses a cross-domain URL ([8de1abd](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8de1abda6be3633982392178731431b0ddb1b52b))
22+
* refactoring error when the image URL contains parameters ([ec98f07](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ec98f07aca0b80a9c07fbcdc8e0d7d66dba98ed2))
23+
* spaces in post title are encoded when sharing ([7efd2f8](https://github.com/cotes2020/jekyll-theme-chirpy/commit/7efd2f8aa2ea1c3aeb7d740bf9a018881c26fe65))
24+
25+
26+
### Improvements
27+
28+
* **cdn:** optimize cache policy for static assets ([7fb0ee0](https://github.com/cotes2020/jekyll-theme-chirpy/commit/7fb0ee0bedb63eee3f90a49c6d7fb8b5d78c9830))
29+
530
## [5.3.2](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.3.1...v5.3.2) (2022-11-22)
631

732

0 commit comments

Comments
 (0)