使用hexo theme Butterfly 报错
直接用github上作者提供的代码
1 | git clone -b master [https://github.com/jerryc127/hexo-theme-butterfly.git](https://github.com/jerryc127/hexo-theme-butterfly.git) themes/Butterfly |
结果是页面根本无法正常渲染,只有一行字:
1 | extends includes/layout.pug block content include ./includes/mixins/post-ui.pug #recent-posts.recent-posts +postUI include includes/pagination.pug |
问题解决
参照原作者提供的文章Butterfly
按照方法安装npm install hexo-renderer-pug hexo-renderer-stylus --save
然后打开