1.10.0 • Published 11 months ago

@gethinode/mod-fontawesome v1.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Hinode Module - Font Awesome

About

Logo

Hinode is a clean blog theme for Hugo, an open-source static site generator. Hinode is available as a template, and a main theme. This repository maintains a Hugo module to add Font Awesome icons to a Hinode site. Visit the Hinode documentation site for installation instructions.

Configuration

This module supports the following parameters (see the section params.modules in config.toml):

SettingDefaultDescription
fontawesome.embedtrueIf set, generates a symbol map with embedded vector images. Only works in conjunction with inline. Include the symbol with the partial assets/symbols.html (requires the current page context).
fontawesome.inlinetrueIf set, uses inline vector images instead of web fonts. Both methods support Font Awesome styling and animation. However, when using vector images you cannot use aliases. Instead, use the default name of the icon.
fontawesome.debugtrueIf set, prints the original code <i class="[...]" style=[...]></i> as comments next to the inline vector image.
fontawesome.skipMissingfalseIf set, displays a warning when an icon cannot be found. The missing icon is replaced with a dummy. By default, Hinode exits with an error when an icon is missing.

Notes

The repository of Font Awesome has changed its pattern for semantic versioning. As a result, hugo does not pick up the latest version correctly. A workaround is to create a fork for version 6.x only and to use this as a source instead.

This repository (mod-fontawesome) has chosen a different approach, which is more in line with the other modules maintained by Hinode. It downloads the latest npm release of Font Awesome and redistributes several selected files and folders. The steps are fully automated as part of a CI/CD process.

1.9.1

12 months ago

1.9.0

1 year ago

1.10.0

11 months ago

1.8.2

1 year ago

1.8.1

1 year ago

1.8.0

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.0

2 years ago