alanorth / hugo-theme-bootstrap4-blog

A blogging-centric Bootstrap v4 theme for the Hugo static site generator.
Other
204 stars 132 forks source link

Font awesome icon availability #134

Closed boydkelly closed 4 years ago

boydkelly commented 4 years ago

Hi, Great theme. My only issue right now is font awesome. I want to replace "share" with an icon in the same family as the current facebook, linkedin, and twitter icons. I thougt it would be as simple as inserting something like <span class="fas fa-share"></span> But I can't get anything to work. I just get a pulsating exclamation mark. I am using an svg image as a work around but I would also like to insert an rss icon as well. Can you point me in the right direction.

Once I get finished I may send you a pull request for a couple of i18n things. Thanks. (https://titro.pro)

alanorth commented 4 years ago

Hey! Check the source/scss/fontawesome.scss. I'm only importing a subset of the Font Awesome icons in order to save space. I can add a few more if you tell me which ones you want.

For i18n that's great. Please send.

On Sat, May 23, 2020, 18:58 Boyd Kelly notifications@github.com wrote:

Hi, Great theme. My only issue right now is font awesome. I want to replace "share" with an icon in the same family as the current facebook, linkedin, and twitter icons. I thougt it would be as simple as inserting something like But I can't get anything to work. I just get a pulsating exclamation mark. I am using an svg image as a work around but I would also like to insert an rss icon as well. Can you point me in the right direction.

Once I get finished I may send you a pull request for a couple of i18n things. Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alanorth/hugo-theme-bootstrap4-blog/issues/134, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABO2CVXQXWQ4WYIRCKB6L3RS7XEFANCNFSM4NIP5CEQ .

boydkelly commented 4 years ago

Thanks! ok I was thinking it was with scss. In the meantime I have a solution, but the two icons i need are pretty generic (for rss and sharing): and Cheers!

alanorth commented 4 years ago

Oops, I was on mobile when I responded to that and I forgot that I switched to using SVG. Now the icons are selectively imported in the source/js/fontawesome.js instead. Do you want these two icons?

I can add them for you.