---
title: "Hexo用法"
description: "文章的各种属性、摘要的书写方式"
canonical_url: "https://yangqiuyi.com/blog/zhu-ti/hexo-yong-fa"
---

> Index of every page on this site: [llms.txt](https://yangqiuyi.com/llms.txt)

文章的各种属性、摘要的书写方式

### 文章属性列表

<table>
<thead>
  <tr>
    <th>
      layout
    </th>
    
    <th>
      layout
    </th>
    
    <th>
      post 或 page
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      title
    </td>
    
    <td>
      文章标题
    </td>
    
    <td>
      文档名
    </td>
  </tr>
  
  <tr>
    <td>
      date
    </td>
    
    <td>
      创建日期
    </td>
    
    <td>
      文档的创建日期
    </td>
  </tr>
  
  <tr>
    <td>
      updated
    </td>
    
    <td>
      修改日期
    </td>
    
    <td>
      文档的修改日期
    </td>
  </tr>
  
  <tr>
    <td>
      comments
    </td>
    
    <td>
      是否开启评论
    </td>
    
    <td>
      true
    </td>
  </tr>
  
  <tr>
    <td>
      tags
    </td>
    
    <td>
      标签
    </td>
    
    <td>
      NULL
    </td>
  </tr>
  
  <tr>
    <td>
      categories
    </td>
    
    <td>
      分类
    </td>
    
    <td>
      NULL
    </td>
  </tr>
  
  <tr>
    <td>
      permalink
    </td>
    
    <td>
      url 中的名字
    </td>
    
    <td>
      文档名
    </td>
  </tr>
  
  <tr>
    <td>
      thumbnail
    </td>
    
    <td>
      文章缩略图
    </td>
    
    <td>
      NULL
    </td>
  </tr>
  
  <tr>
    <td>
      banner
    </td>
    
    <td>
      文章缩略图&文章首部 banner
    </td>
    
    <td>
      NULL
    </td>
  </tr>
</tbody>
</table>

### 文章摘要

```text
<!--more-->
```

通过上面这个东西分割摘要与文章主体

## Sitemap

See the full [sitemap](https://yangqiuyi.com/sitemap.md) for all pages.
