portails/content/docs/prologue/introduction.md

1.7 KiB

title description lead date draft images menu weight toc
Introduction Hugo boilerplate helping you build fast, robust, and flexible websites. Hugo boilerplate helping you build fast, robust, and flexible websites. 2020-01-07T16:23:23+01:00 false
image-hyas.jpg
docs
parent
prologue
010 true
👉 This is some text within a card body.

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)

[Check out the directory structure]({{< ref "docs/basic-hyas/directory-structure.md" >}}).

How to install

Create a new Hyas project:

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

Install dependencies:

yarn install

Build development theme with live reloading and injection:

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