Static assets (libraries/plugins/web-fonts) required by the Chirpy based website to run. It provides the opportunity to choose self-host assets in production or development mode.
-
If you want to use these assets only in local development:
Go to the root of your site and clone the assets as follows:
$ git submodule init $ git submodule update
And then set your site configuration options:
# _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.ymloptions as follows:# _config.yml assets: self_host: enabled: true
And then update the GitHub Actions workflow in
.github/workflows/pages-deploy.yml:steps: - name: Checkout uses: actions/checkout@v2 with: + submodules: true
| Dependency | Version |
|---|---|
| Font Awesome Free | 7.1.0 |
| Clipboard | 2.0.11 |
| Day.js | 1.11.18 |
| GLightbox | 3.3.1 |
| Loading-attribute-polyfill | 2.1.1 |
| Mermaid | 11.12.0 |
| Simple-Jekyll-Search | 1.10.0 |
| Tocbot | 4.36.4 |