matsuyoshi30 / harbor

Simple and minimal personal blog theme.
MIT License
187 stars 68 forks source link

Using fontawesome brands icons #110

Closed remyd1 closed 3 years ago

remyd1 commented 3 years ago

Hi,

I am having trouble using brands icons. Is there anything special to do (solid and general icons are working fine) ?

In my config.toml, I added:

[[params.nav]]
  identifier = "linux"
  name = "Linux"
  icon = "fas fa-linux fa-lg"
  url = "/linux/"
  weight = 3

Sorry, if I missed anything here.

Thanks, Best regards,

matsuyoshi30 commented 3 years ago

@remyd1 Thanks for reporting! I'll take a look later.

matsuyoshi30 commented 3 years ago

@remyd1 I think Linux icon is Brands style in fontawesome, so it can be used by fab like below.

icon = "fab fa-linux fa-lg"
remyd1 commented 3 years ago

Perfect! It was as simple as that. 👍🏼