Network Performance Monitor
    Have ideas to improve npm?Join in the discussion! »

    hugo-jam-icons

    1.1.2 • Public • Published

    hugo-jam-icons

    Hugo module to easily use Jam 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-jam-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 'ghost' with your chosen icon.)

    {{ partial "jam-icons/icon" "ghost" }}
    

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

    Enjoy!

    Install

    npm i hugo-jam-icons

    DownloadsWeekly Downloads

    1

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    4.09 kB

    Total Files

    10

    Last publish

    Collaborators

    • avatar