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

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

在这里插入图片描述

发布了236 篇原创文章 · 获赞 1925 · 访问量 45万+

猜你喜欢

转载自blog.csdn.net/weixin_44318830/article/details/104884936