1.1.5 • Published 4 years ago
hugo-hylda v1.1.5
Hylda
A Hyde inspired theme for Hugo with a splash of colour.
Installation
This theme is distributed through the NPM registry. It's recommended to install
it with either npm
or yarn
.
Setup an
package.json
if you don't already have oneyarn init
Add this theme
yarn add hugo-hylda
Link the theme in your
themes
foldermkdir -p themes cd themes ln -s ../node_modules/hugo-hylda mv hugo-hylda hylda cd ..
Set your theme in
config.toml
theme = "hylda"
Development
Install dependencies
yarn
Start the build
This will serve the example, build the assets and lint your code
yarn start
Linting
yarn lint
Icons
We use the Font Awesome icons.
To use an icon:
- Add the icon name to the
icons.txt
file - Include your icon using
{{ partial "icon" "{name}" }}
Releasing
Bump version
yarn version
Push version bump
git push --tags origin master
The CI will publish a new release and version of the demo site for you
License
All the code in this project is licensed under the MIT license.
The icons are extracted from Font Awesome. They are licensed under SIL OFL 1.1