Skip to content

Commit d63b3b7

Browse files
committed
update: init
0 parents  commit d63b3b7

File tree

217 files changed

+13760
-0
lines changed

Some content is hidden

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

217 files changed

+13760
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.devcontainer/devcontainer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "Jekyll",
3+
"image": "mcr.microsoft.com/devcontainers/jekyll:2-bullseye",
4+
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
5+
"postCreateCommand": "bash .devcontainer/post-create.sh",
6+
"customizations": {
7+
"vscode": {
8+
"settings": {
9+
"terminal.integrated.defaultProfile.linux": "zsh"
10+
},
11+
"extensions": [
12+
// Liquid tags auto-complete
13+
"killalau.vscode-liquid-snippets",
14+
// Liquid syntax highlighting and formatting
15+
"Shopify.theme-check-vscode",
16+
// Shell
17+
"timonwong.shellcheck",
18+
"mkhl.shfmt",
19+
// Common formatter
20+
"EditorConfig.EditorConfig",
21+
"esbenp.prettier-vscode",
22+
"stylelint.vscode-stylelint",
23+
"yzhang.markdown-all-in-one",
24+
// Git
25+
"mhutchie.git-graph"
26+
]
27+
}
28+
}
29+
}

.devcontainer/post-create.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
3+
if [ -f package.json ]; then
4+
bash -i -c "nvm install --lts && nvm install-latest-npm"
5+
npm i
6+
npm run build
7+
fi
8+
9+
# Install dependencies for shfmt extension
10+
curl -sS https://webi.sh/shfmt | sh &>/dev/null
11+
12+
# Add OMZ plugins
13+
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
14+
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
15+
sed -i -E "s/^(plugins=\()(git)(\))/\1\2 zsh-syntax-highlighting zsh-autosuggestions\3/" ~/.zshrc
16+
17+
# Avoid git log use less
18+
echo -e "\nunset LESS" >>~/.zshrc

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
trim_trailing_whitespace = true
8+
# Unix-style newlines with a newline ending every file
9+
end_of_line = lf
10+
insert_final_newline = true
11+
12+
[*.{js,css,scss}]
13+
quote_type = single
14+
15+
[*.{yml,yaml}]
16+
quote_type = double
17+
18+
[*.md]
19+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Set default behavior to automatically normalize line endings.
2+
* text=auto
3+
4+
# Force bash scripts to always use LF line endings so that if a repo is accessed
5+
# in Unix via a file share from Windows, the scripts will work.
6+
*.sh text eol=lf
7+
8+
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
9+
# in Windows via a file share from Linux, the scripts will work.
10+
*.{cmd,[cC][mM][dD]} text eol=crlf
11+
*.{bat,[bB][aA][tT]} text eol=crlf
12+
13+
# Denote all files that are truly binary and should not be modified.
14+
*.png binary
15+
*.jpg binary
16+
*.ico binary
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
body:
2+
- type: checkboxes
3+
attributes:
4+
label: Checklist
5+
description: Following the guidelines can make you more likely to get responses.
6+
options:
7+
- label: >-
8+
I have read and accepted the
9+
[contributing guidelines](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/CONTRIBUTING.md).
10+
required: true
11+
12+
- type: textarea
13+
attributes:
14+
label: Description
15+
description: Please describe in detail what you want to share.
16+
validations:
17+
required: true
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
body:
2+
- type: textarea
3+
attributes:
4+
label: Description
5+
description: Please describe in detail what you want to share.
6+
validations:
7+
required: true
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
body:
2+
- type: checkboxes
3+
attributes:
4+
label: Checklist
5+
description: Following the guidelines can make you more likely to get responses.
6+
options:
7+
- label: >-
8+
I have read and accepted the
9+
[contributing guidelines](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/CONTRIBUTING.md).
10+
required: true
11+
12+
- type: dropdown
13+
id: download
14+
attributes:
15+
label: How did you create the site?
16+
options:
17+
- Generated from `chirpy-starter`
18+
- Built from `jekyll-theme-chirpy`
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
attributes:
24+
label: Description
25+
description: Please describe your need in detail.
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
attributes:
31+
label: Operations you have already tried
32+
description: Describe the effort you went through.
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
attributes:
38+
label: Anything else?
39+
description: |
40+
Links? References? Or logs? Anything that will give us more context about the issue you are encountering!
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Bug Report
2+
description: Create a report to help us improve
3+
body:
4+
- type: checkboxes
5+
attributes:
6+
label: Checklist
7+
description: Following the guidelines can make you more likely to get responses.
8+
options:
9+
- label: >-
10+
I have read and accepted the
11+
[contributing guidelines](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/CONTRIBUTING.md).
12+
required: true
13+
14+
- type: dropdown
15+
id: download
16+
attributes:
17+
label: How did you create the site?
18+
options:
19+
- Generated from `chirpy-starter`
20+
- Built from `jekyll-theme-chirpy`
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
attributes:
26+
label: Describe the bug
27+
description: A clear and concise description of what the bug is.
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
attributes:
33+
label: Steps To Reproduce
34+
description: Steps to reproduce the behavior.
35+
placeholder: |
36+
1. In this environment...
37+
2. With this config...
38+
3. Run '...'
39+
4. See error...
40+
validations:
41+
required: true
42+
43+
- type: textarea
44+
attributes:
45+
label: Expected Behavior
46+
description: A concise description of what you expected to happen.
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
attributes:
52+
label: Environment
53+
value: |
54+
- Ruby: <!-- run `ruby -v` -->
55+
- Jekyll: <!-- run `bundle exec jekyll -v` -->
56+
- Chirpy: <!-- run `bundle info jekyll-theme-chirpy` -->
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
attributes:
62+
label: Anything else?
63+
description: |
64+
Links? References? Or logs? Anything that will give us more context about the issue you are encountering!

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Ask the community for help
4+
url: https://github.com/cotes2020/jekyll-theme-chirpy/discussions
5+
about: Please ask and answer questions here.

0 commit comments

Comments
 (0)