Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
hexo-generator-index
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-index --save
Add or modify the following section to your root _config.yml
file.
index_generator:
path: ""
per_page: 10
order_by: -date
pagination_dir: page
layout: ["index", "archive"]
""
config.per_page
as specified in the official Hexo docs (if present), otherwise 10
0
disables pagination.-date
(date descending)page
awesome-page
makes the URL ends with awesome-page/<page number>
for second page and beyond.["index", "archive"]
The sticky
parameter in the post Front-matter will be used to pin the post to the top of the index page. Higher sticky
means that it will be ranked first.
---
title: Hello World
date: 2013/7/13 20:46:25
sticky: 100
---
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.
MIT
FAQs
Index generator for Hexo.
The npm package hexo-generator-index receives a total of 18,201 weekly downloads. As such, hexo-generator-index popularity was classified as popular.
We found that hexo-generator-index demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.