Why Hyas?#

  • Bootstrap Sass (no JavaScript) and Autoprefixer
  • Check Sass and JavaScript for errors
  • Environment specific configuration
  • Image shortcode with lazysizes and blur up plugin
  • Fingerprinting and SRI (production)
  • Remove unused CSS (production)

Prerequisites#

Make sure all dependencies have been installed:

  • Hugo >= 0.62.2/extended
  • Node.js >= 10.16.0
  • npm >= 6.9.0
  • Yarn >= 1.21.1 (recommended)

How to install#

Create a new Hyas project:

$ git clone git@github.com:h-enk/hyas.git my-hyas-site

Install dependencies:

# @ my-hyas-site/
$ yarn install

Build development theme with live reloading and injection:

# @ my-hyas-site/
$ yarn start

Other commands#

  • yarn lint:styles - Check Sass for errors
  • yarn lint:scripts - Check JavaScript for errors
  • yarn clean - Delete temporary directories
  • yarn build - Build production theme

Alternatives#