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

发布于 2022-09-11 19:27:47 字数 548 浏览 26 评论 0

图片描述

图片描述

图片描述

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

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

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

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

入画浅相思 2022-09-18 19:27:47

链接图标以解决,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
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文