https://github.com/cotes2020/chirpy-static-assets
Static Assets for Chirpy Project.
https://github.com/cotes2020/chirpy-static-assets
css-library js-library static-assets submodule webfonts
Last synced: 6 months ago
JSON representation
Static Assets for Chirpy Project.
- Host: GitHub
- URL: https://github.com/cotes2020/chirpy-static-assets
- Owner: cotes2020
- License: mit
- Created: 2022-02-07T16:10:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-17T03:55:44.000Z (8 months ago)
- Last Synced: 2025-03-31T09:03:37.393Z (6 months ago)
- Topics: css-library, js-library, static-assets, submodule, webfonts
- Homepage: https://github.com/cotes2020/jekyll-theme-chirpy
- Size: 19.3 MB
- Stars: 39
- Watchers: 2
- Forks: 69
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Static Assets for Chirpy Jekyll Theme
## Introduction
Static assets (libraries/plugins/web-fonts) required by the [_Chirpy_][chirpy] based website to run. It provides the opportunity to choose self-host assets in production or development mode.
## Usage
- If you want to use these assets only in local development:
Go to the root of your site and clone the assets as follows:
```console
$ git submodule init
$ git submodule update
```And then set your site configuration options:
```yml
# _config.yml
assets:
self_host:
enabled: true
env: development
```- If you expect the assets to be self-hosted when your website is published:
Keep the `_config.yml` options as follows:
```yml
# _config.yml
assets:
self_host:
enabled: true
```And then update the GitHub Actions workflow in `.github/workflows/pages-deploy.yml`:
```diff
steps:
- name: Checkout
uses: actions/checkout@v2
with:
+ submodules: true
```## Versions
| Dependency | Version |
| :------------------------------------------------------- | --------: |
| [Clipboard][clipboard] | `2.0.11` |
| [Day.js][dayjs] | `1.11.13` |
| [Font Awesome Free][fontawesome] | `6.7.1` |
| [GLightbox][glightbox] | `3.3.0` |
| [Loading-attribute-polyfill][loading-attribute-polyfill] | `2.1.1` |
| [Mermaid][mermaid] | `11.4.0` |
| [Simple-Jekyll-Search][simple-jekyll-search] | `1.10.0` |
| [Tocbot][tocbot] | `4.32.2` |[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy
[clipboard]: https://www.jsdelivr.com/package/npm/clipboard
[dayjs]: https://www.jsdelivr.com/package/npm/dayjs
[fontawesome]: https://fontawesome.com/download
[loading-attribute-polyfill]: https://www.jsdelivr.com/package/npm/loading-attribute-polyfill
[glightbox]: https://www.jsdelivr.com/package/npm/glightbox
[mermaid]: https://www.jsdelivr.com/package/npm/mermaid
[simple-jekyll-search]: https://www.jsdelivr.com/package/npm/simple-jekyll-search
[tocbot]: https://www.jsdelivr.com/package/npm/tocbot