Skip to content
Hexo Generator, creates a list of recent articles in JSON
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

hexo-generator-recent

Hexo plugin to generate a list of recent articles in JSON. Suitable for consumption by APIs or feeds.

Unmaintained

Please open an issue if you would like to take ownership.

Installation

  npm i --save hexo-generator-recent

Usage

Just generate as usual

Using the default settings, the recent.json will contain the most recent 5 posts and list all keys

Configuration

an example. would be included in _config.yml

generatorRecent:
  file: recent.json
  number: 5
  sort: -date
  fields: # set to true for all fields (default)
    - title
    - slug
    - date
    - tags
You can’t perform that action at this time.