本文最后更新于:2024年1月14日 晚上

本文介绍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日
许可协议