0%

Hexo基础操作(二)

hexo常用操作

添加摘要

1
2
3
4
---
摘要
<!-- more -->
正文

设置主页只显示摘要

1
2
3
4
# Automatically Excerpt. Not recommand.
# Please use <!-- more --> in the post to control excerpt accurately.
auto_excerpt:
enable: true

创建草稿

1
hexo new draft "file name"

发布草稿为正式文章

1
hexo publish [layout] <filename>

参考资料

  1. Hexo 添加分类及标签
  2. hexo之next主题添加分类
  3. hexo博文分类数和标签数显示不正确?
  4. hexo.io doc
  5. hexo新建文件草稿