0%

基于hexo创建blog

  1. install nodejs  

  2. install hexo  

  3. 发布  

    1
    2
    hexo g 
    hexo d
  4. hexo页面无法正常显示

    1
    2
    3
    4
    npm install hexo-renderer-swig
    #npm install hexo-renderer-ejs
    #npm install hexo-renderer-marked
    #npm install hexo-renderer-stylus
  5. 更换环境

    1
    2
    3
    4
    5
    6
    7
    git clone xx
    cd xx
    npm install hexo
    npm install

    // hexo环境配置好后,继续像之前一样
    hexo new post_name

https://hexo.io/zh-cn/docs/