2019-03-24 | MISC | UNLOCK

GithubPage & Hexo Installation

  • Install Hexo
  • Init a hexo directory:hexo init my_dir
  • Choose a hexo, git clone to theme/, config as the readme required
  • Write documents (markdown files)
  • Install npm install –save hexo-deployer-git
  • Update docs/_config.yml:
    deploy:
    type: git
    repo: https://github.com/njucs/njucs.github.io
    branch: gh-pages
    message: “Docs updated”

    Site

    title: Jaimely
    subtitle:
    description:
    author: Liang He
    language:
    timezone:

    URL

    url: https://njucs.github.io/njucs.github.io
    root: /njucs.github.io/
  • hexo generate
  • hexo deploy

评论加载中