Fork me on GitHub

Hexo

  • 初始化hexo

    hexo init
    
  • 安装依赖

    npm install
    有时安装不成功,可以用 sudo npm install
    
    L..o..a..d..i..n..g…
  • 配置_config.yml达成自定

    title: *****
    subtitle:*****
    description:*****
    author: *****
    language:*****
    timezone:*****
    
  • 如果想发布到GITHUB上,配置如下,详情见http://pages.github.com

    deploy:
      type: git
      repo: https://github.com/******/******.github.io
      branch: master
    
  • 创建文章

    hexo new layout "your articlehexo name"
    layout 可不填写,自取默认值
    写文章的话要用markdown,以前木有接触过,也是现学现用的
    

    MarkDown网址

  • 生成静态文件

    hexo generate
    
  • 发布

    hexo deploy
    
  • OK