# 文章

{% hint style="info" %}
需要配置在 **文章 Front-matter**
{% endhint %}

### 封面图片 <a href="#feng-mian-tu-pian" id="feng-mian-tu-pian"></a>

使用 `相对路径`，参照 [资源文件夹](https://hexo.io/zh-cn/docs/asset-folders)

```yaml
cover: xxx.jpg
```

### 封面视频

使用 `完整链接`，便于使用 CDN

每篇文章只能有一个封面视频，并且封面图片和封面视频只能同时存在其中一个

```yaml
video:
  src: src # 完整视频链接
  poster: poster # 完整视频封面图链接
```

### 文字头部图片

可配多张，使用 `相对路径` ，参照 [资源文件夹](https://hexo.io/zh-cn/docs/asset-folders)

```yaml
photos:
- xxx.jpg
- xxx.jpg
```

### 转载链接

可配多条

`url` 跳转链接 / `title` 显示标题

```yaml
link_reprint:
  -
    url: url
    title: title
  -
    url: url
    title: title
```

### 参考链接

可配多条

`url` 跳转链接 / `title` 显示标题

```yaml
link_refer:
  -
    url: url
    title: title
  -
    url: url
    title: title
```

### 置顶

在 Hexo 目录下安装依赖

```css
npm i hexo-generator-index -S
```

在文章 Front-matter 增加选项

```makefile
sticky: 100
```

更多使用方法 [点击查看](https://github.com/hexojs/hexo-generator-index)

### 视频

我们对文章内容里面的视频做了优化处理，你只需要在写文章的时候直接使用 HTML 的 Video 标签 `<video src="xxx"/>` 即可。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lh1me.gitbook.io/aomori/cn/features/article.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
