[Bug0052] Hexo+Butterfly博客报错extends includes/layout.pug block content include ./includes/mixins/post…

  • Post author:
  • Post category:其他


问题

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 的渲染器

解决方案
npm install hexo-renderer-pug hexo-renderer-stylus --save
npm install hexo-deployer-git --save / yarn add hexo-deployer-git

再次依次执行

hexo clean
hexo g
hexo s -p 4000



版权声明:本文为qq_44138925原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。