Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
hexo-generator-indexed
Advanced tools
Index generator for Hexo.
It generates an archive of posts on your homepage, according to the index
or archive
layout of your theme.
$ npm install hexo-generator-indexed
Add or modify the following section to your root _config.yml file
index_generator:
path: ''
per_page: 10
order_by: -date
pagination_dir: page
config.per_page
as specified in the official Hexo docs (if present), otherwise 10
0
disables paginationawesome-page
makes the URL ends with 'awesome-page/' for second page and beyond.If your theme define a non-archive index
layout (e.g. About Me page), this plugin would follow that layout instead and not generate an archive. In that case, use hexo-generator-archive to generate an archive according to the archive
layout.
在文章的Front-matter中增加一个sticky
参数用来置顶,其值应为大于0的整数,表示置顶的优先级(未指定则默认为0)。数字越大,文章越靠前。
Add a sticky
parameter to the the post's Front-matter to make the post pinned at the top of home page.
---
title: example
sticky: 100
---
采用sticky
关键词是因为这个在NexT主题中已经定义了置顶样式,因此可以直接拿来使用。
在文章的Front-matter中增加一个hide
参数用来隐藏。
Add a hide
parameter to the the post's Front-matter to hide the post from home page.
---
title: example
hide: true
---
在Hexo的_config.yml
中可以通过hide_categories
选项设置隐藏某个分类下的文章,例如:
You can hide articles in specified categories by setting hide_categories
in hexo _config.yml
, e.g.
hide_categories:
- categorie1
- categorie2
MIT
FAQs
Index generator for Hexo.
We found that hexo-generator-indexed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.