shenliyang / hexo-theme-snippet

Snippet 简洁而不简单,也许是一款你寻找已久的hexo主题
https://snippet.shenliyang.com/
MIT License
1.09k stars 210 forks source link

請問social icon 怎麼添加?與menu icon #152

Closed s2339956 closed 5 years ago

s2339956 commented 5 years ago
menu:
- page: home
  url: /
  icon: icons8-home-page-80.png

## 社交设置{@name:社交工具名字,@icon:社交工具图标,@href:设置工具链接} [参考图标](http://fontawesome.io/icons/)
social:
  - name: Github
    icon: git
    href: //github.com/shenliyang

這兩個區域嘗試添加都無法顯示,請問作者該如何添加呢?

shenliyang commented 5 years ago

您好,icon爲字體圖標名稱,而非本地圖片資源,參照配置對應名稱即可: 20190815133649

更多圖標參考: Font Awesome 中文网

如果還有問題,請提供截圖和相關配置

s2339956 commented 5 years ago
- page: archives
  url: /archives/
  icon: fa-archive
- page: About
  url: /about/
  icon: fa-user-circle-o

fa-user-circle-o 這一直無法顯示? 是為什麼呢? 換了 fa-user 可以了!

shenliyang commented 5 years ago

可以更新主题最新代码,也可以在主題配置中指定ICON的版本:

## ICON配置
fontAwesome: