iTimeTraveler / hexo-theme-hipaper

A fashional newspaper theme for Hexo.
https://itimetraveler.github.io/hexo-theme-hipaper/
MIT License
249 stars 77 forks source link

How to add a widget-social-icons? #15

Open kiarafbickers opened 6 years ago

kiarafbickers commented 6 years ago

How do I add a widget-social-icons. Particularly I want to add Keybase and Email. For some reason my email icon does not work in the hipaper theme.

iTimeTraveler commented 6 years ago

Hello, @kiarafrobles

These icons are from Font-Awesome Icons, so the widget-social-icon's title which you want to add should use these [Font-Awesome Icons] as a reference.

For example, if you want to add a Email icon. First, search email from Font-Awesome Icons, then choose a suitable icon and copy its name as Hipaper's widget-social-icon's title.

In here, I choose envelope as my email icon, use it like this:

# Social Links
# Key is the name of FontAwsome icon.
# Value is the target link (E.g. GitHub: https://github.com/iTimeTraveler)
social:
  Github: https://github.com/iTimeTraveler
  Weibo: 
  Twitter: 
  Facebook: 
  Google-plus: 
  Instagram: 
  Envelope: mailto:example@gmail.com

So, There must be some icons can't find in [Font Awesome], like Keybase. This is bad but you could use some general icons instead of it.

chrisbergeron commented 6 years ago

FontAwesome added a keybase icon a few weeks ago: https://fontawesome.com/icons/keybase?style=brands

kiarafbickers commented 5 years ago

Not sure how to effectively upgrade my Font-Awesome Icons to version 5.1.0.

I edited the version number in the _variables.styl file. But I don't see the version number being reflected in the output when I run hexo g.