部署 Hexo 时出现的问题


打开个人界面出现
extends includes/layout.pug block content include ./includes/mixins/post-ui.pug #recent-posts.recent-posts +postUI include includes/pagination.pug

执行

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

这是一个使用 npm 命令安装多个 Node.js 包的命令。npm 是 Node.js 的包管理器,它用于安装和管理 Node.js 库和应用程序。在这条命令中,您使用 install 命令来安装多个包,包括 hexo-renderer-jadehexo-generator-feedhexo-generator-sitemaphexo-browsersync 和 hexo-generator-archive。您还使用了 --save 选项,表示将这些包保存到项目的依赖项中。

这些包似乎与 Hexo 静态站点生成器有关。Hexo 是一个流行的静态站点生成器,它可以帮助您快速创建博客、文档和其他类型的网站。这些包提供了 Hexo 的额外功能,例如渲染 Jade 模板、生成 RSS 订阅源和站点地图、实时预览和归档页面生成等。


文章作者: Chipfron
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 Chipfron !
  目录