PurgeCSS

To remove all unused CSS from Bootstrap and Hugolify, we use PurgeCSS to clean it.

Setup

/config/default/hugo.yaml

build:
  buildStats:
    disableClasses: false
    disableIDs: true
    disableTags: false
    enable: true

Configuration

Documentations