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

在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章