1.1.5 • Published 6 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.jsonif you don't already have oneyarn initAdd this theme
yarn add hugo-hyldaLink the theme in your
themesfoldermkdir -p themes cd themes ln -s ../node_modules/hugo-hylda mv hugo-hylda hylda cd ..Set your theme in
config.tomltheme = "hylda"
Development
Install dependencies
yarnStart the build
This will serve the example, build the assets and lint your code
yarn start
Linting
yarn lintIcons
We use the Font Awesome icons.
To use an icon:
- Add the icon name to the
icons.txtfile - Include your icon using
{{ partial "icon" "{name}" }}
Releasing
Bump version
yarn versionPush version bump
git push --tags origin masterThe 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