关于搭建博客的记录

搭建博客之前你需要下载工具例如:

node.js.
git for windows
sublime
还需要在github注册账号。
在把自己的博客从hexo发送至github上需要注意几个问题。
需要改一下地方:

keywords:
author: xxx
language:
timezone: 
url: https://xxx.github.io
deploy: 
    type: git
    repo: https://github.com/xxx/xxx.github.io.git
    branch: master
  

改完之后不要忘了保存(ctrl+s)
hexo g
hexo d
在hexo d之后可能会出现错误,我的需要改root这个地方

root: xxx.github.io

然后不要忘了保存。
例如root branch type等后面的代码都有一个空格。

搭建博客首先需要耐心和兴趣。 在搭建博客中你会遇到很多问题,一定要有耐心解决问题。

猜你喜欢

转载自blog.csdn.net/ruigeling/article/details/104343388
今日推荐