0.1.3 • Published 7 years ago

hexo-generator-recent v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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
0.1.3

7 years ago

0.1.2

8 years ago

0.1.0

8 years ago