hexo 发布文章的方法

  1. 命令行窗口hexo new 文章名字

  2. myblog\source\_posts里编写

  3. 依次执行==hexo clean== &&==hexo g== && ==hexo d==

    为文章添加信息

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    ---
    title: 标题【必须】
    date: 日期【会自动生成】
    updated: 更新日期
    tags: 文章标签
    categories: 分类
    keywords: 关键字
    description: 描述
    top_img: 顶部图片
    comments:
    cover: 文章缩略图
    toc:
    toc_number:
    toc_style_simple:
    copyright:
    copyright_author: 文章作者
    copyright_author_href:
    copyright_url:
    copyright_info:
    mathjax:
    katex:
    aplayer:
    highlight_shrink:
    aside: 侧边显示栏(默认为true)
    ---

注意冒号之后有空格