【解决办法】hexo部署博客出现WARN No layout: about/index.html【fluid主题】

本文描述了在使用Hexo博客时遇到的bug,涉及到_config.yml文件错误、theme文件夹异常以及渲染器问题。作者提到通过验证_config.yml和theme设置,发现是由于安装的fluid主题文件夹存在问题,解决方案是删除并重新安装主题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

如题。hexo g时出现这个bug,且打开博客也是一片空白。因为我用的是fluid主题,不知道其他主题是否适用。

出现如下情况:

按照参考中给出的方法:

Things to check:

  1. validate ./_config.yml (https://yaml-online-parser.appspot.com/)
  2. verify ./_config.yml's theme: entry is a directory in ./themes
  3. verify ./themes/[themedir]/_config.yml is valid
  4. verify post's front matter is valid yml
  5. verify post's front matter layout: entry is a file (w/o extension) in ./themes/[themedir]/layout/[name]

If you make any ch

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值