怎么使用非Gravatar头像? #261
-
Describe the bug 描述你遇到的错误v. 0.2.16 设置: gravatarForce = false avatar头像依然只能从Gravatar加载,本地资源文件里的头像设置无效。 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
|
在 v0.2.18 版本,该功能发生变化,详见 #288 ,所以对于该问题,v0.2.18 版本之后的回答如下:
|
Beta Was this translation helpful? Give feedback.
在 v0.2.18 版本,该功能发生变化,详见 #288 ,所以对于该问题,v0.2.18 版本之后的回答如下:
profile 的头像由
params.home.profile的gravatarEmail和avatarURL的值决定,优先级:gravatarEmail>avatarURL使用本地头像,
params.gravatar.enable = false或gravatarEmail为空,并设置avatarURL即可文章的头像仅由作者的邮箱(
author.email)和头像(author.avatar)决定使用本地头像,
params.gravatar.enable = false或 作者邮箱(author.email)为空,并设置作者头像(author.avatar)即可