ppoffice / hexo-theme-hueman

A redesign of Alx's wordpress theme Hueman, ported to Hexo.
http://ppoffice.github.io/hexo-theme-hueman/
GNU General Public License v2.0
1.17k stars 336 forks source link

Add social_links and no icon shown #208

Closed JKSTAFF closed 6 years ago

JKSTAFF commented 6 years ago

I found there is an available icon for telegram
Then I add it in themes/hueman/_config.yml looks like this:

social_links: 
        telegram: https://t.me/xxxxx

......and no telegram icon shown. Any solution?
Thanks for your coding and watching.

ppoffice commented 6 years ago

@Dedsic You should update the font-awesome files in https://github.com/ppoffice/hexo-theme-hueman/tree/master/source/libs/font-awesome

JKSTAFF commented 6 years ago

@ppoffice Hey I'm back. I simply add this

.fa-telegram:before {
  content: "\f2c6"; 
}

in font-awesome.css , and

fa-telegram:before{content:"\f2c6"}

in font-awesome.min.css. In doing so I got a error icon on the side bar

I don't know much about fontawesome. Hope you can give me more advice.
Thank you.

ppoffice commented 6 years ago

@Dedsic It does not show because it does not have the icon. You need to download a newer version of font-awesome files and replace the old ones.

JKSTAFF commented 6 years ago

It's done.All icons' working now. Huge Thanks to you!
For people who have the same problem just in case, like @ppoffice said, download the newer version then replace the old one can fix it.