|
| 1 | +# Chirpy Starter |
| 2 | + |
| 3 | +[][gem] |
| 4 | +[][mit] |
| 5 | + |
| 6 | +When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders |
| 7 | +`_data`, `_layouts`, `_includes`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file |
| 8 | +from the theme's gem. If you have ever installed this theme gem, you can use the command |
| 9 | +`bundle info --path jekyll-theme-chirpy` to locate these files. |
| 10 | + |
| 11 | +The Jekyll team claims that this is to leave the ball in the user’s court, but this also results in users not being |
| 12 | +able to enjoy the out-of-the-box experience when using feature-rich themes. |
| 13 | + |
| 14 | +To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your |
| 15 | +Jekyll site. The following is a list of targets: |
| 16 | + |
| 17 | +```shell |
| 18 | +. |
| 19 | +├── _config.yml |
| 20 | +├── _plugins |
| 21 | +├── _tabs |
| 22 | +└── index.html |
| 23 | +``` |
| 24 | + |
| 25 | +To save you time, and also in case you lose some files while copying, we extract those files/configurations of the |
| 26 | +latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes. |
| 27 | + |
| 28 | +## Prerequisites |
| 29 | + |
| 30 | +Follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of |
| 31 | +the basic environment. [Git](https://git-scm.com/) also needs to be installed. |
| 32 | + |
| 33 | +## Installation |
| 34 | + |
| 35 | +Sign in to GitHub and [**use this template**][use-template] to generate a brand new repository and name it |
| 36 | +`USERNAME.github.io`, where `USERNAME` represents your GitHub username. |
| 37 | + |
| 38 | +Then clone it to your local machine and run: |
| 39 | + |
| 40 | +```console |
| 41 | +$ bundle |
| 42 | +``` |
| 43 | + |
| 44 | +## Usage |
| 45 | + |
| 46 | +Please see the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#documentation). |
| 47 | + |
| 48 | +## License |
| 49 | + |
| 50 | +This work is published under [MIT][mit] License. |
| 51 | + |
| 52 | +[gem]: https://rubygems.org/gems/jekyll-theme-chirpy |
| 53 | +[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/ |
| 54 | +[use-template]: https://github.com/cotes2020/chirpy-starter/generate |
| 55 | +[CD]: https://en.wikipedia.org/wiki/Continuous_deployment |
| 56 | +[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE |
0 commit comments