Skip to content

cotes2020/chirpy-static-assets

Repository files navigation

Static Assets for Chirpy Jekyll Theme

Introduction

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.

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:

    $ 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

Versions

Dependency Version
Bootstrap 5.3.2
Clipboard 2.0.11
Day.js 1.11.10
Font Awesome Free 6.5.1
GLightbox 3.3.0
Loading-attribute-polyfill 2.1.1
Mermaid 10.8.0
Simple-Jekyll-Search 1.10.0
Tocbot 4.25.0