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

2021-01-27 15:54:53 浏览数 (1)

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

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

解决方案:

执行如下命令

代码语言:javascript复制
npm install --save hexo-renderer-jade hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive

清除缓存 hexo clean

生成静态文件即可 hexo g

0 人点赞