问题
Hexo主题Butterfly启动后报错
extends includes/layout.pug block content include ./includes/mixins/post-ui
.pug #recent-posts.recent-posts +postUI include includes/pagination.pug
场景
更换新主题Butterfly
原因
没有 pug 以及 stylus 的渲染器文章来源:https://www.toymoban.com/news/detail-622157.html
解决方案
npm install hexo-renderer-pug hexo-renderer-stylus --save
npm install hexo-deployer-git --save / yarn add hexo-deployer-git
再次依次执行文章来源地址https://www.toymoban.com/news/detail-622157.html
hexo clean
hexo g
hexo s -p 4000
到了这里,关于[Bug0052] Hexo+Butterfly博客报错extends includes/layout.pug block content include ./includes/mixins/post...的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!