从零开始:使用 Hexo 搭建并部署个人博客到 GitHub
本篇博客将详细介绍如何使用 Hexo 搭建个人博客,并将其部署到 GitHub 上,实现免费且高效的个人网站托管。我们将从环境准备开始,逐步介绍 Hexo 的安装、配置、内容创作以及最终的部署过程。
more >>We are all in the gutter, but some of us are looking at the stars.
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia-plus根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true