Skip to content

Commit

Permalink
docs: v7.0.0 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Sketon committed Nov 11, 2023
1 parent 4553325 commit 1fa82dd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion source/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Setting | Description | Default
- `date`: Use `date` as `updated`. Typically used with Git workflow when file modification date could be different.
- `empty`: Simply drop `updated` when not provided. May not be compatible with most themes and plugins.

`use_date_for_updated` is deprecated and will be removed in the next major version. Please use `updated_option: 'date'` instead.
`use_date_for_updated` is removed in v7.0.0+. Please use `updated_option: 'date'` instead.
{% endnote %}
### Pagination
Expand Down
2 changes: 1 addition & 1 deletion source/zh-cn/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Hexo 使用 [Moment.js](http://momentjs.com/) 来解析和显示时间。
- `date`: 使用 `date` 作为 `updated` 的值。可被用于 Git 工作流之中,因为使用 Git 管理站点时,文件的最后修改日期常常会发生改变
- `empty`: 直接删除 `updated`。使用这一选项可能会导致大部分主题和插件无法正常工作。

`use_date_for_updated` 选项已经被废弃,将会在下个重大版本发布时去除。请改为使用 `updated_option: 'date'`
`use_date_for_updated` 选项已经在 v7.0.0+ 中被移除。请改为使用 `updated_option: 'date'`
{% endnote %}

## 分页
Expand Down
16 changes: 8 additions & 8 deletions source/zh-cn/docs/tag-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ content
{% endpullquote %}
```

## jsFiddle (deleted in `v7.0.0`)
## jsFiddle (`v7.0.0` 中被移除)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
如果你正在使用 `v7.0.0+`,请使用 [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) 替代。
{% endnote %}

在文章中嵌入 jsFiddle。
Expand All @@ -176,10 +176,10 @@ Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if
{% jsfiddle shorttag [tabs] [skin] [width] [height] %}
```

## Gist (deleted in `v7.0.0`)
## Gist (`v7.0.0` 中被移除)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
如果你正在使用 `v7.0.0+`,请使用 [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) 替代。
{% endnote %}

在文章中嵌入 Gist。
Expand Down Expand Up @@ -252,10 +252,10 @@ Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if
{% include_code lang:javascript to:8 test.js %}
```

## Youtube (deleted in `v7.0.0`)
## Youtube (`v7.0.0` 中被移除)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
如果你正在使用 `v7.0.0+`,请使用 [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) 替代。
{% endnote %}

在文章中插入 Youtube 视频。
Expand Down Expand Up @@ -287,10 +287,10 @@ Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if
{% youtube PL9hW1uS6HUfscJ9DHkOSoOX45MjXduUxo 'playlist' false %}
```

## Vimeo (deleted in `v7.0.0`)
## Vimeo (`v7.0.0` 中被移除)

{% note warn %}
Please use [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) instead if you use `v7.0.0+`.
如果你正在使用 `v7.0.0+`,请使用 [hexo-tag-embed](https://github.com/hexojs/hexo-tag-embed) 替代。
{% endnote %}

在文章中插入 Vimeo 视频。
Expand Down
2 changes: 1 addition & 1 deletion source/zh-tw/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Hexo 使用 [Moment.js](http://momentjs.com/) 來解析和顯示時間。
- `date`: Use `date` as `updated`. Typically used with Git workflow when file modification date could be different.
- `empty`: Simply drop `updated` when not provided. May not be compatible with most themes and plugins.

`use_date_for_updated` is deprecated and will be removed in next major version. Please use `updated_option: 'date'` instead.
`use_date_for_updated` is removed in v7.0.0+. Please use `updated_option: 'date'` instead.
{% endnote %}

### 分頁
Expand Down

0 comments on commit 1fa82dd

Please sign in to comment.