This repository contains a theme for Hugo.
- Preact widget injection using Preact-Habitat
- Node & SASS asset pipeline with Hugo pipes (assets processing)
- Fontawesome icon pack
- Multilingual support
- Typescript TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
- Jest - testing
Navigate to your themes folder in your Hugo site and use the following commands:
$ cd themes
$ git clone https://github.com/Lowess/hugo-preact-theme preact
Check that your Hugo version is minimum 0.84
with hugo version
.
- Javascript or CSS plugins should be installed using
npm
# Install animate.css library
$ npm install animate.css --save
# Install fontawesome icon pack
$ npm install @fortawesome/fontawesome-free --save
To run cli, you need to execute following command.
$ make cli