Skip to content

Hugo theme component that allows the use of the Kenney Icon Font. (Mirrored from GitLab.)

License

Notifications You must be signed in to change notification settings

rmaguiar/hugo-kenney-icon-font

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kenney Icon Font for Hugo

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.

Shortcode sample screenshot.

There's also a PDF file available for reference.

Installation

  1. 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
  1. Add the kenney-icon-font in your config file. Example (as config.toml):
theme = [ "kenney-icon-font", "my-theme" ]
  1. Make sure to load the css/kenney-icons.css somewhere. Example:
<link rel="stylesheet" href="{{ "css/kenney-icons.css" | absURL }}">
  1. 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 >}}

Thanks to

About

Hugo theme component that allows the use of the Kenney Icon Font. (Mirrored from GitLab.)

Topics

Resources

License

Stars

Watchers

Forks