抱歉,您的浏览器无法访问本站
本页面需要浏览器支持(启用)JavaScript
了解详情 >

安装

  • 安装前提: nodejs
    • 安装 nodejs
  • 安装 hexo
    1
    npm install -g hexo-cli

初始化项目

  • 找个文件夹
    1
    hexo init

使用 vexo theme

  • theme 地址: Vexo
  1. Download/Checkout this theme into your project

    1
    2
    3
    4
    5
    cd your-hexo-folder

    git clone https://github.com/yanm1ng/hexo-theme-vexo.git themes/vexo

    cp -R themes/vexo/_source/* source/
  2. Update project _config.yml theme config, look like this

    1
    themes: vexo

    Here theme’s name must same as the theme folder name.

  3. Modify theme themes/vexo/_config.yml with your own info.

创建新文章

1
hexo new "title"

发布

    1. 测试, 查看效果

      hexo server

    1. 生成到 public 文件夹

      hexo g

    1. copy public 里的内容到 github.io 项目, 并提交

最后, 提交本项目更改