Skip to content

leviwheatcroft/hexo-generator-recent

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

About

Hexo Generator, creates a list of recent articles in JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published