-
Notifications
You must be signed in to change notification settings - Fork 140
图片Logo
家鳖大帝 edited this page Apr 15, 2017
·
1 revision
将站点上端的文字Logo替换成自定义图片
在hiero/_config.yml
中设置 avatar
字段的eanble
为true,然后设置图片的url
。
# Put your avatar.jpg into `hexo-site/themes/hiero/source/` directory.
# url is target link (E.g. `url: https://hexo.io/logo.svg` or `url: css/images/mylogo.jpg`)
avatar:
enable: true #是否显示Logo
width: 124 #设置Logo的显示宽度
height: 124 #设置Logo的显示高度
bottom: 10
url: https://hexo.io/logo.svg #Logo图片地址