tjwudi/hexo-generator-api — pull request #3 by nxfifteen (2014-12-20 13:50:01+00:00)
Title: Added new function to create recent posts API

The current list.json file only shows all posts from oldest to newest.

I have created a new function to list the newest posts. The number of posts shown is taken from the hexo setting hexo.config['api_posts_per_page'] or defaults to 10