This is not a standalone theme. This is a Hugo theme component that allows the use of the Kenney Icon Font. It includes the font, stylesheet and a shortcode.
There's also a PDF file available for reference.
- Add the
hugo-kenney-icon-font
as a submodule:
git submodule add https://gitlab.com/rmaguiar/hugo-kenney-icon-font.git themes/kenney-icon-font
- Add the
kenney-icon-font
in your config file. Example (as config.toml):
theme = [ "kenney-icon-font", "my-theme" ]
- Make sure to load the
css/kenney-icons.css
somewhere. Example:
<link rel="stylesheet" href="{{ "css/kenney-icons.css" | absURL }}">
- You should now be able to use the
ki
shortcode. Example:
{{< ki dpad-top dpad-top dpad-bottom dpad-bottom dpad-left dpad-right dpad-left dpad-right button-b button-a >}}
- Kenney.nl & @SamBrishes for the assets;
- @nicodinh for the icon font.