generated from alshedivat/al-folio
-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
d43e851
commit e98e759
Showing
363 changed files
with
11,434 additions
and
30,518 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,5 @@ | ||
# https://github.com/browserslist/browserslist#browserslistrc | ||
|
||
last 2 versions | ||
> 0.2% | ||
not dead |
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 @@ | ||
{ | ||
"rules": { | ||
"body-max-line-length": [ | ||
0, | ||
"always" | ||
] | ||
} | ||
} |
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,19 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
# Unix-style newlines with a newline ending every file | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.{js,css,scss}] | ||
quote_type = single | ||
|
||
[*.{yml,yaml}] | ||
quote_type = double | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,16 @@ | ||
# Set default behavior to automatically normalize line endings. | ||
* text=auto | ||
|
||
# Force bash scripts to always use LF line endings so that if a repo is accessed | ||
# in Unix via a file share from Windows, the scripts will work. | ||
*.sh text eol=lf | ||
|
||
# Force batch scripts to always use CRLF line endings so that if a repo is accessed | ||
# in Windows via a file share from Linux, the scripts will work. | ||
*.{cmd,[cC][mM][dD]} text eol=crlf | ||
*.{bat,[bB][aA][tT]} text eol=crlf | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
*.png binary | ||
*.jpg binary | ||
*.ico binary |
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,73 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as | ||
contributors and maintainers pledge to making participation in our project and | ||
our community a harassment-free experience for everyone, regardless of age, body | ||
size, disability, ethnicity, sex characteristics, gender identity and expression, | ||
level of experience, education, socio-economic status, nationality, personal | ||
appearance, race, religion, or sexual identity and orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable | ||
behavior and are expected to take appropriate and fair corrective action in | ||
response to any instances of unacceptable behavior. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or | ||
reject comments, commits, code, wiki edits, issues, and other contributions | ||
that are not aligned to this Code of Conduct, or to ban temporarily or | ||
permanently any contributor for other behaviors that they deem inappropriate, | ||
threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces | ||
when an individual is representing the project or its community. Examples of | ||
representing a project or community include using an official project e-mail | ||
address, posting via an official social media account, or acting as an appointed | ||
representative at an online or offline event. Representation of a project may be | ||
further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported by contacting the project team at `[email protected]`. All | ||
complaints will be reviewed and investigated and will result in a response that | ||
is deemed necessary and appropriate to the circumstances. The project team is | ||
obligated to maintain confidentiality with regard to the reporter of an incident. | ||
Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good | ||
faith may face temporary or permanent repercussions as determined by other | ||
members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, | ||
available at <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html> | ||
|
||
For answers to common questions about this code of conduct, see | ||
<https://www.contributor-covenant.org/faq> | ||
|
||
[homepage]: https://www.contributor-covenant.org |
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,55 @@ | ||
# How to Contribute | ||
|
||
:tada: We really appreciate you taking the time to improve this project! :tada: | ||
|
||
To ensure that the blog design is not confusing, this project does not accept | ||
suggestions for design changes, such as color scheme, fonts, typography, etc. | ||
If your request is about an enhancement, it is recommended to first submit a | ||
[Feature Request][pr-issue] issue to discuss whether your idea fits the project. | ||
|
||
Basically, you can follow these steps to complete the contribution. | ||
|
||
1. Fork this project on GitHub and clone it locally. | ||
2. Create a new branch from the default branch and give it a descriptive name | ||
(format: `feature/<add-new-feat>` or `fix/<fix-a-bug>`). | ||
3. After completing development, create a [Conventional Commit][cc] with git. | ||
(See also: ["Verify the commits"](#verify-the-commits)) | ||
4. Create a [Pull Request][gh-pr]. | ||
|
||
## Make sure you can pass the CI tests | ||
|
||
This project has [CI][ci] turned on. In order for your [PR][gh-pr] to pass the test, | ||
please read the following. | ||
|
||
### Check the core functionality | ||
|
||
```console | ||
bash ./tools/test | ||
``` | ||
|
||
### Check the SASS syntax style | ||
|
||
```console | ||
npm test | ||
``` | ||
|
||
### Verify the commits | ||
|
||
Before you create a git commit, please complete the following setup. | ||
|
||
Install `commitlint` & `husky`: | ||
|
||
```console | ||
npm i -g @commitlint/{cli,config-conventional} husky | ||
``` | ||
|
||
And then enable `husky`: | ||
|
||
```console | ||
husky install | ||
``` | ||
|
||
[pr-issue]: https://github.com/cotes2020/jekyll-theme-chirpy/issues/new?labels=enhancement&template=feature_request.md | ||
[gh-pr]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests | ||
[cc]: https://www.conventionalcommits.org/ | ||
[ci]: https://en.wikipedia.org/wiki/Continuous_integration |
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 @@ | ||
ko_fi: coteschung | ||
custom: https://sponsor.cotes.page |
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,68 @@ | ||
--- | ||
name: Bug Report | ||
about: Create a report to help us improve | ||
--- | ||
|
||
**NOTE:** Before you start, the following should be completed. | ||
|
||
- Read [Wiki][wiki] to understand the usage and the correct effect of functional design. | ||
- Make sure no [similar issue(including closed ones)][issues] exists. | ||
- Make sure the bug is found in the latest code of the `master` branch. | ||
|
||
[wiki]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki | ||
[issues]: https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue | ||
|
||
## Describe the bug | ||
|
||
<!-- A clear and concise description of what the bug is. --> | ||
|
||
## To Reproduce | ||
|
||
Steps to reproduce the behavior: | ||
<!-- | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
--> | ||
|
||
## Expected behavior | ||
|
||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
## Logs/Screenshots | ||
|
||
<!-- If applicable, add logs/screenshots to help explain your problem. --> | ||
|
||
## Environment | ||
|
||
| Command | Version | | ||
|-----------------------------------|---------| | ||
| `ruby -v` | | | ||
| `gem -v` | | | ||
| `bundle -v` | | | ||
| `bundle exec jekyll -v` | | | ||
| `bundle info jekyll-theme-chirpy` | | | ||
|
||
<!-- If necessary, uncomment and fill in the following list: | ||
### Desktop | ||
- OS: [e.g. macOS 10.15.6] | ||
- Browser: [e.g. Chrome 85.0.4183.83 (64-bit)] | ||
--> | ||
|
||
<!-- If necessary, uncomment and fill in the following list: | ||
### Smartphone | ||
- Device: [e.g. iPhone 6] | ||
- OS: [e.g. iOS 13.6.1] | ||
- Browser: [e.g. Chrome 22] | ||
--> | ||
|
||
## Additional context | ||
|
||
<!-- Add any other context about the problem here. --> |
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,33 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest an idea for this project | ||
labels: enhancement | ||
--- | ||
|
||
**NOTE:** Before you start, the following should be completed. | ||
|
||
- Read [Wiki][wiki] to understand the usage and the correct effect of functional design. | ||
- Make sure no [similar issue(including closed ones)][issues] exists. | ||
- Make sure the request is based on the latest code in the `master` branch. | ||
|
||
[wiki]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki | ||
[issues]: https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue | ||
|
||
## Is your feature request related to a problem? Please describe | ||
|
||
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --> | ||
|
||
|
||
## Describe the solution you'd like | ||
|
||
<!-- A clear and concise description of what you want to happen. --> | ||
|
||
|
||
## Describe alternatives you've considered | ||
|
||
<!-- A clear and concise description of any alternative solutions or features you've considered. --> | ||
|
||
|
||
## Additional context | ||
|
||
<!-- Add any other context or screenshots about the feature request here. --> |
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,28 @@ | ||
--- | ||
name: Help Wanted | ||
about: Need help that is not covered in the tutorial | ||
labels: 'help wanted' | ||
--- | ||
|
||
**NOTE:** Before you start, the following should be completed. | ||
|
||
- Read [Wiki][wiki] to understand the usage and the correct effect of functional design. | ||
- Make sure no [similar issue(including closed ones)][issues] exists. | ||
- Try to find the answer on [Jekyll Forum][forum] and [StackOverflow][stack_overflow]. | ||
|
||
[wiki]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki | ||
[issues]: https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue | ||
[forum]: https://talk.jekyllrb.com/ | ||
[stack_overflow]: https://stackoverflow.com/questions/tagged/jekyll | ||
|
||
## Description | ||
|
||
<!-- Please describe your need in detail. --> | ||
|
||
## Operations you have already tried | ||
|
||
<!-- Describe the effort you went through. --> | ||
|
||
## Logs/Screenshots | ||
|
||
<!-- If applicable, add logs/screenshots to help explain your problem. --> |
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,20 @@ | ||
--- | ||
name: Question | ||
about: Issues that differ from other templates | ||
labels: question | ||
--- | ||
|
||
**NOTE:** Before you start, the following should be completed. | ||
|
||
- Read [Wiki][wiki] to understand the usage and the correct effect of functional design. | ||
- Make sure no [similar issue(including closed ones)][issues] exists. | ||
- Try to find the answer on [Jekyll Forum][forum] and [StackOverflow][stack_overflow]. | ||
|
||
[wiki]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki | ||
[issues]: https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue | ||
[forum]: https://talk.jekyllrb.com/ | ||
[stack_overflow]: https://stackoverflow.com/questions/tagged/jekyll | ||
|
||
## Description | ||
|
||
<!-- Please describe your question in detail. --> |
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,29 @@ | ||
## Description | ||
|
||
<!-- | ||
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. | ||
--> | ||
|
||
## Type of change | ||
|
||
<!-- | ||
Please select the desired item checkbox and change it to "[x]", then delete options that are not relevant. | ||
--> | ||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Improvement (refactoring and improving code) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] Documentation update | ||
|
||
## Additional context | ||
|
||
<!-- e.g. Fixes #(issue) --> | ||
|
||
## How has this been tested | ||
|
||
<!-- | ||
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 | ||
--> | ||
|
||
- [ ] I have run `bash ./tools/test` (at the root of the project) locally and passed | ||
- [ ] I have tested this feature in the browser |
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 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
| Version | Supported | | ||
|---------| ------------------ | | ||
| 5.x | :white_check_mark: | | ||
| < 5.0.0 | :x: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you find a vulnerability, please report it to `[email protected]`. We will try our best to respond within a week. Thank you for your time! |
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,14 @@ | ||
name: CD | ||
on: | ||
push: | ||
branches: [production, docs] | ||
|
||
jobs: | ||
launch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
curl -X POST -H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: Bearer ${{ secrets.GH_PAT }}" \ | ||
https://api.github.com/repos/${{ secrets.BUILDER }}/dispatches \ | ||
-d '{"event_type":"deploy", "client_payload":{"branch": "${{ github.ref_name }}"}}' |
Oops, something went wrong.