This is a Hugo module that packages the Font Awesome SCSS source ready to be used in Hugo.
You need the Hugo extended version and Go to use this component.
Add the component to your Hugo site's config:
[module]
[[module.imports]]
path = "github.com/deining/hugo-mod-font-awesome-scss"
The Font Awesome SCSS will be mounted in assets/scss/Font-Awesome
, so you can then import either all:
@import "Font-Awesome/fontawesome";
Or only what you need:
@import "Font-Awesome/variables";
@import "Font-Awesome/mixins";
@import "Font-Awesome/core";
@import "Font-Awesome/larger";
@import "Font-Awesome/fixed-width";
@import "Font-Awesome/list";
@import "Font-Awesome/bordered-pulled";
@import "Font-Awesome/animated";
@import "Font-Awesome/rotated-flipped";
@import "Font-Awesome/stacked";
@import "Font-Awesome/icons";
@import "Font-Awesome/screen-reader";
@import "Font-Awesome/shims.scss";
This repository will be versioned following the minor and patch versions in the Font Awesome repository.