Next -9- 添加头像

本文最后更新于:2022年7月4日 上午

本文介绍Next主题添加头像的方法。

头像文件

把准备好的头像图片放在/next/source/images/文件夹内。

修改主题配置文件

修改avatar.url

1
2
3
4
5
6
7
8
# Sidebar Avatar
avatar:
# Replace the default image and set the url here.
url: /images/avatar.jpg
# If true, the avatar will be dispalyed in circle.
rounded: false
# If true, the avatar will be rotated with the cursor.
rotated: false



文章链接:
https://www.zywvvd.com/notes/hexo/theme/next/9-add-avatar/add-avatar/


Next -9- 添加头像
https://www.zywvvd.com/notes/hexo/theme/next/9-add-avatar/add-avatar/
作者
Yiwei Zhang
发布于
2020年2月28日
许可协议