my first article

搭建博客

博客上传文件步骤

  • myblog目录下在命令行中输入(xxx为文章名称),之后在source/_posts,目录下会自动生成xxxx.md文件
1
hexo new "xxxx"
  • 打开之后会看到
1
2
3
title: xxxx
data: 2018-5-14 10:42:50
tages:
  • 之后可以在上面设置关于、标签、分类和归档等
1
2
3
4
5
6
7
8
9
10
title: xxxx
data: 2018-5-14 10:42:50
tages:
- tag1
- tag2
categories:
- 1
- 2
about:
archives:
  • myblog目录下
1
hexo generate
1
hexo server
1
hexo deploy