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 |
---|---|
Bootstrap | 5.2.3 |
Clipboard | 2.0.11 |
Day.js | 1.11.7 |
Font Awesome Free | 6.4.0 |
jQuery | 3.7.0 |
Lazysizes | 5.3.2 |
Magnific Popup | 1.1.0 |
Mermaid | 9.4.3 |
Simple-Jekyll-Search | 1.10.0 |
Tocbot | 4.21.0 |