bradp / hugo-feather-icons

๐Ÿ’  Hugo module to easily use feathericons.com anywhere in your site.

Home Page:https://feathericons.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hugo-feather-icons

Hugo module to easily use feather Icons anywhere in your site.

Installation

First, init your project as Hugo Module.:

hugo mod init github.com/<your-user>/<your-project>

Then edit your config file to import the module:

# config.toml
[module]
  [[module.imports]]
    path = "github.com/bradp/hugo-feather-icons"

Upating

To update all modules:

hugo mod get -u

You may need to run hugo mod clean if something isn't working right.

Usage

To any layout file, simple use this partial (replacing 'anchor' with your chosen icon.)

{{ partial "feather-icons/icon" "anchor" }}

To view all the icons & their names, you can go to <your-site>/feathericons.

Enjoy!

About

๐Ÿ’  Hugo module to easily use feathericons.com anywhere in your site.

https://feathericons.com/

License:MIT License


Languages

Language:HTML 100.0%