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.yml
options 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 |
---|---|
Clipboard | 2.0.11 |
Day.js | 1.11.13 |
Font Awesome Free | 6.7.1 |
GLightbox | 3.3.0 |
Loading-attribute-polyfill | 2.1.1 |
Mermaid | 11.4.0 |
Simple-Jekyll-Search | 1.10.0 |
Tocbot | 4.32.2 |