-
Notifications
You must be signed in to change notification settings - Fork 3.6k
设置侧边栏社交链接
BigRed Qi edited this page Jan 15, 2017
·
3 revisions
编辑站点的 _config.yml
,新增字段 social
,然后添加社交站点名称与地址即可。例如:
# Social links
social:
GitHub: https://github.com/your-user-name
Twitter: https://twitter.com/your-user-name
Weibo: http://weibo.com/your-user-name
douban: http://douban.com/people/your-user-name
zhihu: http://www.zhihu.com/people/your-user-name
# 等等
编辑主题的 _config.yml
, 在social_icons
字段下添加社交站点名称(注意大小写)与图标,例如:
social_icons:
enable: true
# Icon Mappings.
# KeyMapsToSocalItemKey: NameOfTheIconFromFontAwesome
GitHub: github
Twitter: twitter
Weibo: weibo
Linkedin: linkedin
图标名称可以参考:http://fontawesome.io/cheatsheet/