Hexo Generator, creates a list of recent articles in JSON
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Levi Wheatcroft
Levi Wheatcroft deprecated
Latest commit 3347281 Jan 8, 2017
Permalink
Failed to load latest commit information.
.gitignore initial commit Mar 28, 2016
LICENSE initial commit Mar 28, 2016
README.md deprecated Jan 8, 2017
index.js deprecated Jan 8, 2017
package.json deprecated Jan 8, 2017

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