-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.json
1 lines (1 loc) · 3.45 KB
/
content.json
1
{"meta":{"title":"铁牛的博客","subtitle":"","description":"","author":"tieniu1","url":"http://yoursite.com","root":"/"},"pages":[{"title":"404 Not Found:该页无法显示","date":"2020-04-28T03:15:10.484Z","updated":"2020-04-28T03:15:10.484Z","comments":false,"path":"/404.html","permalink":"http://yoursite.com/404.html","excerpt":"","text":""},{"title":"书单","date":"2020-04-28T03:15:10.487Z","updated":"2020-04-28T03:15:10.487Z","comments":false,"path":"books/index.html","permalink":"http://yoursite.com/books/index.html","excerpt":"","text":""},{"title":"分类","date":"2020-04-28T03:15:10.488Z","updated":"2020-04-28T03:15:10.488Z","comments":false,"path":"categories/index.html","permalink":"http://yoursite.com/categories/index.html","excerpt":"","text":""},{"title":"Repositories","date":"2020-04-28T03:15:10.501Z","updated":"2020-04-28T03:15:10.501Z","comments":false,"path":"repository/index.html","permalink":"http://yoursite.com/repository/index.html","excerpt":"","text":""},{"title":"友情链接","date":"2020-04-28T03:15:10.488Z","updated":"2020-04-28T03:15:10.488Z","comments":true,"path":"links/index.html","permalink":"http://yoursite.com/links/index.html","excerpt":"","text":""},{"title":"标签","date":"2020-04-28T03:15:10.502Z","updated":"2020-04-28T03:15:10.502Z","comments":false,"path":"tags/index.html","permalink":"http://yoursite.com/tags/index.html","excerpt":"","text":""},{"title":"关于","date":"2020-04-28T03:15:10.486Z","updated":"2020-04-28T03:15:10.486Z","comments":false,"path":"about/index.html","permalink":"http://yoursite.com/about/index.html","excerpt":"","text":"个人详细介绍"}],"posts":[{"title":"HEXO常用命令","slug":"HEXO常用命令","date":"2020-04-28T02:20:34.000Z","updated":"2020-04-28T06:21:51.754Z","comments":true,"path":"2020/04/28/HEXO常用命令/","link":"","permalink":"http://yoursite.com/2020/04/28/HEXO%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/","excerpt":"HEXO常用命令","text":"HEXO常用命令 记住以下命令基本就足够应付日常Hexo的使用了。hexo help 获取帮助;hexo init [folder] 初始化Hexo项目目录,默认当前目录;hexo new [layout] [title] layout选填,默认使用 _config.yml 中的 default_layout 参数代替;hexo publish [layout] [filename] 发表草稿;hexo g 生成静态页面;hexo g -d 生成文章后立即部署;hexo s 启动hexo服务,在本地可以通过http://localhost:4000来访问页面;hexo s -p 3000 修改端口号为3000;hexo s -g 启动本地服务前,先执行hexo g;hexo d 部署hexo,前提是你已经配置了部署环境,通常是使用Git部署至Github或者Coding上;hexo d -g 部署前,先执行hexo g;hexo clean 清空产生的静态网站,也就是删除项目中public文件夹,在调试页面的时候通常要用到,很多情况,修改了hexo配置文件,hexo服务并不能实时显示出来。建议部署到服务器上之前,都使用一下此命令;hexo version 查看环境以及版本;掌握这些基本命令就足以应付日常使用了,更多功能请查看官方https://hexo.io/zh-cn/docs/.","categories":[{"name":"hexo","slug":"hexo","permalink":"http://yoursite.com/categories/hexo/"}],"tags":[{"name":"hexo主题","slug":"hexo主题","permalink":"http://yoursite.com/tags/hexo%E4%B8%BB%E9%A2%98/"}]}],"categories":[{"name":"hexo","slug":"hexo","permalink":"http://yoursite.com/categories/hexo/"}],"tags":[{"name":"hexo主题","slug":"hexo主题","permalink":"http://yoursite.com/tags/hexo%E4%B8%BB%E9%A2%98/"}]}