forked from cotes2020/jekyll-theme-chirpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
485 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
paths-ignore: | ||
- "assets/js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: "Close stale issues and PRs" | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" # every day at 00:00 UTC | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
env: | ||
STALE_LABEL: stale | ||
EXEMPT_LABELS: "pending,planning,in progress" | ||
MESSAGE: > | ||
This conversation has been automatically marked as stale because it has not had recent activity. | ||
It will be closed if no further activity occurs. | ||
Thank you for your contributions. | ||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
# 60 days before marking issues/PRs stale | ||
days-before-close: -1 # does not close automatically | ||
stale-issue-label: ${{ env.STALE_LABEL }} | ||
exempt-issue-labels: ${{ env.EXEMPT_LABELS }} | ||
stale-issue-message: ${{ env.MESSAGE }} | ||
stale-pr-label: ${{ env.STALE_LABEL }} | ||
exempt-pr-labels: ${{ env.EXEMPT_LABELS }} | ||
stale-pr-message: ${{ env.MESSAGE }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,5 @@ package-lock.json | |
|
||
# IDE configurations | ||
.idea | ||
.vscode | ||
|
||
# Misc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx --no -- commitlint -x $(npm root -g)/@commitlint/config-conventional --edit | ||
npx --no -- commitlint --edit ${1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"recommendations": [ | ||
// Liquid tags auto-complete | ||
"killalau.vscode-liquid-snippets", | ||
// Liquid syntax highlighting and formatting | ||
"Shopify.theme-check-vscode", | ||
// Common formatter | ||
"esbenp.prettier-vscode", | ||
"foxundermoon.shell-format", | ||
"stylelint.vscode-stylelint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
// Prettier | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"prettier.trailingComma": "none", | ||
// Shopify Liquid | ||
"files.associations": { | ||
"*.html": "liquid" | ||
}, | ||
// Formatter | ||
"[html][liquid]": { | ||
"editor.defaultFormatter": "Shopify.theme-check-vscode" | ||
}, | ||
"[shellscript]": { | ||
"editor.defaultFormatter": "foxundermoon.shell-format" | ||
}, | ||
// Disable vscode built-in stylelint | ||
"css.validate": false, | ||
"scss.validate": false, | ||
"less.validate": false, | ||
// Stylint extension settings | ||
"stylelint.snippet": ["css", "less", "postcss", "scss"], | ||
"stylelint.validate": ["css", "less", "postcss", "scss"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ cdns: | |
- url: https://fonts.googleapis.com | ||
# jsDelivr CDN | ||
- url: https://cdn.jsdelivr.net | ||
# polyfill.io for math | ||
- url: https://polyfill.io | ||
|
||
# fonts | ||
|
||
|
@@ -23,17 +25,17 @@ bootstrap: | |
js: https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js | ||
|
||
toc: | ||
css: https://cdn.jsdelivr.net/npm/tocbot@4.21.3/dist/tocbot.min.css | ||
js: https://cdn.jsdelivr.net/npm/tocbot@4.21.3/dist/tocbot.min.js | ||
css: https://cdn.jsdelivr.net/npm/tocbot@4.25.0/dist/tocbot.min.css | ||
js: https://cdn.jsdelivr.net/npm/tocbot@4.25.0/dist/tocbot.min.js | ||
|
||
fontawesome: | ||
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.2/css/all.min.css | ||
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.1/css/all.min.css | ||
|
||
search: | ||
js: https://cdn.jsdelivr.net/npm/[email protected]/dest/simple-jekyll-search.min.js | ||
|
||
mermaid: | ||
js: https://cdn.jsdelivr.net/npm/mermaid@10.6.0/dist/mermaid.min.js | ||
js: https://cdn.jsdelivr.net/npm/mermaid@10.8.0/dist/mermaid.min.js | ||
|
||
dayjs: | ||
js: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<iframe | ||
class="embed-video bilibili" | ||
loading="lazy" | ||
src="https://player.bilibili.com/player.html?bvid={{ include.id }}" | ||
scrolling="no" | ||
border="0" | ||
frameborder="no" | ||
framespacing="0" | ||
allowfullscreen="true" | ||
></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- GoatCounter --> | ||
|
||
<script | ||
data-goatcounter="https://{{ site.goatcounter.id }}.goatcounter.com/count" | ||
async | ||
src="https://gc.zgo.at/count.js" | ||
></script> | ||
|
Oops, something went wrong.