Hexo是快速、简洁、高效的博客框架,通过Markdown编写文章,并解析为静态网页。

安装hexo

全局安装hexo命令工具

$ npm install -g hexo-cli

使用国内淘宝源安装

$ npm install hexo-cli -g --registry=https://registry.npm.taobao.org --unsafe-perm

创建项目

初始化hexo

$ hexo init myblob
$ cd myblob
$ npm install

项目组织结构

.
├── _config.yml
├── package.json
├── scaffolds
├── source
|   ├── _drafts
|   └── _posts
└── themes

results matching ""

    No results matching ""