hexo-generator-indexed
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "hexo-generator-indexed", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Index generator for Hexo.", | ||
@@ -23,5 +23,5 @@ "main": "index", | ||
"type": "git", | ||
"url": "https://github.com/hexo-next/hexo-generator-indexed.git" | ||
"url": "https://github.com/next-theme/hexo-generator-indexed.git" | ||
}, | ||
"homepage": "https://github.com/hexo-next/hexo-generator-indexed", | ||
"homepage": "https://github.com/next-theme/hexo-generator-indexed", | ||
"keywords": [ | ||
@@ -36,3 +36,3 @@ "hexo", | ||
"maintainers": [ | ||
"Mimi <hexo-next@gmail.com> (https://zhangshuqiao.org)" | ||
"Mimi <stevenjoezhang@gmail.com> (https://zhangshuqiao.org)" | ||
], | ||
@@ -42,7 +42,7 @@ "license": "MIT", | ||
"chai": "4.2.0", | ||
"eslint": "6.8.0", | ||
"eslint": "7.6.0", | ||
"eslint-config-hexo": "4.1.0", | ||
"hexo": "4.2.0", | ||
"mocha": "7.1.2", | ||
"nyc": "15.0.1" | ||
"hexo": "5.0.2", | ||
"mocha": "8.1.0", | ||
"nyc": "15.1.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "dependencies": { |
@@ -50,2 +50,5 @@ # hexo-generator-indexed | ||
**这一功能已被加入 `hexo-generator-index`。** | ||
**This feature is now part of `hexo-generator-index`.** | ||
在文章的 [Front-matter](https://hexo.io/docs/front-matter) 中增加一个 `sticky` 参数用来置顶,其值应为大于0的整数,表示置顶的优先级(未指定则默认为 0)。数字越大,文章越靠前。 | ||
@@ -61,3 +64,3 @@ Add a `sticky` parameter to the the post's [Front-matter](https://hexo.io/docs/front-matter) to make the post pinned at the top of home page. | ||
采用 `sticky` 关键词是因为这个在 [NexT 主题](https://github.com/hexo-next/hexo-theme-next)中已经定义了置顶样式,因此可以直接拿来使用。 | ||
采用 `sticky` 关键词是因为这个在 [NexT 主题](https://github.com/next-theme/hexo-theme-next)中已经定义了置顶样式,因此可以直接拿来使用。 | ||
@@ -96,3 +99,3 @@ ### 隐藏文章 Hide article | ||
[size-image]: https://img.shields.io/github/languages/code-size/hexo-next/hexo-generator-indexed?style=flat-square | ||
[size-image]: https://img.shields.io/github/languages/code-size/next-theme/hexo-generator-indexed?style=flat-square | ||
[dm-image]: https://img.shields.io/npm/dm/hexo-generator-indexed?style=flat-square | ||
@@ -99,0 +102,0 @@ [dt-image]: https://img.shields.io/npm/dt/hexo-generator-indexed?style=flat-square |
6640
102