Open utterances-bot opened 10 months ago
大佬,404页面顶上的图片可以取消掉吗,像别的页面一样只显示顶栏
@TianMiao8152 上面的代码就已经是没有顶部图片了的,使用topImg: false
属性,上面404页面有列举出示例
@yuang01 title: '页面未找到' date: 0000-00-00 00:00:00 onlyTitle: true toc: false donate: false comments: false share: false copyright: false topImg: false bgImg: https://pic.imgdb.cn/item/64e1711c661c6c8e5495feda.jpg 以上是我的404界面配置 打开预览仍然包含顶部图片,请问是哪里出了问题呢
@TianMiao8152 上面的代码就已经是没有顶部图片了的,使用
topImg: false
属性,上面404页面有列举出示例 在查阅文档时发现存在一点不同 https://hexo-theme-bamboo.netlify.app/post/hexo-theme-bamboo/front-matter/ 文档中的参数为imgtop,而404页面的参数为topimg 经检验发现无论哪个参数设置为false均无法取消顶部图片
@TianMiao8152,f非常抱歉,这个404页面编写有误,应该是imgTop: false
这个属性
好的,问题解决了,感谢
制作简历(关于我)和404页面 | 竹
https://hexo-theme-bamboo.netlify.app/post/custom/resume-404/