这个是我个人的第一篇博客。
为什么要建立博客网站呢?
想法有很多,但主要是记录自己的生活以及一些感想。但是由于我是小白,因此只能按照教程部署一些简单的博客网站,比如这个hexo。
但是我希望自己能有意识的生活,这个才是我最终的目标之一。
新建文章使用以下命令来新建一篇博文:
1hexo new 这是一篇新的博文
然后用文本编辑器去编辑_posts/这是一篇新的博文.md里的内容即可,注意要使用Markdown格式书写。详细使用方法可以查阅https://hexo.io/zh-cn/docs/writing
编辑完文章保存后可以使用如下命令,生成本地页面 http://localhost:4000/ ,进行预览。
1234567// Git BASH终端hexo cl && hexo s// 或者// VSCODE终端hexo cl; hexo s
确认无误后使用以下命令,将本地文章推送至GitHub仓库即可。
1234567// Git BASH终端hexo cl && hexo g && hexo d// 或者// VSCODE终端 ...
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment

