hexo-next 配置头像以及链接图标不显示

图片描述

图片描述

图片描述

小弟新手一枚,想自己配个博客写文章。 基本框架打好了,现在美化。
但是参考网上文章自己修改代码,发现头像以及链接UI不显示。
而且一旦不小心写错了,网站直接就白屏了。
请问下怎么解决相关问题?

已经尝试过: hexo clean , 路径用" "引起来 ,更改为jpg后缀(图片也是RGB格式)。

        图片存放位置没有问题,因为有默认的图片,可是默认图片也不显

我的网站:https://www.flowerdeer.xyz/

阅读 6.6k
1 个回答

链接图标以解决,mist版本只需要在 || 后面加图标名 即可 。social_icons: 不需要填写内容。
头像 链接或者本地都是填写在url 后面,而不是avatar: 后面。

# Sidebar Avatar
avatar: 
  # In theme directory (source/images): /images/avatar.gif
  # In site directory (source/uploads): /uploads/avatar.gif
  # You can also use other linking images.
  url: /images/avatar.png
  # If true, the avatar would be dispalyed in circle.
  rounded: true
  # The value of opacity should be choose from 0 to 1 to set the opacity of the avatar.
  opacity: 1
  # If true, the avatar would be rotated with the cursor.
  rotated: true
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进