Hexo更改主题后启动服务器,界面显如下字符:

extends includes/layout.pug block content include includes/recent-posts.pug include includes/partial

解决方案:

执行如下命令

npm install --save hexo-renderer-jade hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive

清除缓存
hexo clean

生成静态文件即可
hexo g

更多推荐

Hexo启动页面显示extends includes/layout.pug block content include includes/recent-post