Hexo配置


Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Install Node.js

Install Git 配置Git环境

Install Hexo

If No themes:

Themes Configuration

Production

换电脑了,先配置Node.js, Git, Hexo

到一个文件夹 hexo init

然后Git clone MyWebsite

把文件复制到hexo init那个文件夹, (hexo clean) hexo g hexo d hexo s

Hexo-butterfly评论系统配置: Gittalk_nonlinearthink的博客-程序员秘密 - 程序员秘密

Documents

Generatied, Ignore It

.DS_Store

Thumbs.db

db.json

*.log

node_modules/

public/

.deploy*/

Scoforlds

_config.yaml

Configure Themes

Medias

Sources

_config.yaml

Create a new post

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server hexo s

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment


Author: Song Pengfei
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source Song Pengfei !
评论
  TOC