Skip to content

Commit 1e22344

Browse files
committed
website: add webpage icon. jaywcjlove#840
1 parent 596bff3 commit 1e22344

File tree

6 files changed

+11
-1
lines changed

6 files changed

+11
-1
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616

1717
- run: npm install
1818
- run: npm run build
19+
- run: cp -rp icons ./dist
1920

2021
- name: Generate Contributors Images
2122
uses: jaywcjlove/github-action-contributors@main

.refsrc.json

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313
"github": {
1414
"url": "https://github.com/jaywcjlove/reference"
1515
},
16+
"meta": [
17+
{ "name": "author", "content": "jaywcjlove" },
18+
{ "name": "license", "content": "MIT" },
19+
{ "name": "funding", "content": "https://jaywcjlove.github.io/#/sponsor" },
20+
{ "rel": "apple-touch-icon", "href": "{{RELATIVE_PATH}}icons/touch-icon-iphone.png" },
21+
{ "rel": "apple-touch-icon", "sizes": "152x152", "href": "{{RELATIVE_PATH}}icons/touch-icon-ipad.png" },
22+
{ "rel": "apple-touch-icon", "sizes": "180x180", "href": "{{RELATIVE_PATH}}icons/touch-icon-iphone-retina.png" },
23+
{ "rel": "apple-touch-icon", "sizes": "167x167", "href": "{{RELATIVE_PATH}}icons/touch-icon-ipad-retina.png" }
24+
],
1625
"giscus": {
1726
"src": "https://giscus.app/client.js",
1827
"data-repo": "jaywcjlove/reference",

icons/touch-icon-ipad-retina.png

6.51 KB
Loading

icons/touch-icon-ipad.png

6.12 KB
Loading

icons/touch-icon-iphone-retina.png

6.97 KB
Loading

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"husky": "^9.0.0",
3232
"lint-staged": "^15.0.0",
3333
"prettier": "^3.0.0",
34-
"refs-cli": "^1.6.0",
34+
"refs-cli": "^1.7.4",
3535
"markdownlint": "^0.33.0",
3636
"markdownlint-cli": "^0.39.0"
3737
},

0 commit comments

Comments
 (0)