your-identity/hugo-theme-dimension

Other `fa-icons` Do Not Work

Closed this issue · 6 comments

This is quite similar to #2 but in my case, the only icons that work are 'gem' and 'flag'.

I have tried:

  1. Calling the icon with fa-<icon-name> (Results in an empty circle)

  2. Opening the page in another browser, clearing caches, and digging through source.

All the icons that are available render like this.

Broken fa-icon

To reproduce, create a new site, setup the theme, etc, etc. Once set up, select any icon other than 'flag' or 'gem'.

Tested On:
Chromium
Firefox
Hugo V0.60.0 and V0.73

It appears only Font Awesome Regular icons work.

So basically this list: https://fontawesome.com/icons?d=gallery&s=regular&m=free

Thank you @asclines, the icons are limited to the Font Awesome Regular set, due to licensing constraints. @JustinTimperio if you are ok with this, I'll close the issue

Thanks @asclines and @d-asnaghi! I did try this and the icons in the regular set do seem to work. You can feel free to close this issue. It might be helpful though to add plug and play support for those who own the icon pack. I have tried dropping the premium pack in its typical directory and the icons seem to not be "importing"/referenceable.

I'm able to use brand FontAwesome icons just fine by using something like class="fab fa-github". It seems the icons are now split into different groups by default. Just gotta find the class for the category of icon you want.

I ended up abandoning font awesome entirely. Let me know if the new PR works for this feature request

I am going to close this issue since it was addressed in #16