Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
conf.py.sample
recent_posts_json.plugin
recent_posts_json.py

README.md

This plug-in generates a /index.json file containing the same posts as /index.html. Intended to be used in JavaScripts. For example to promote the most recent posts at the bottom of older posts.

By default, the JSON file will include: [ { "date": , "title": , "loc": }, ]

Optionally, it can be expanded to include thumbnails or descriptions: [ { "date" , "title": , "loc": , "desc": , "img": ], }

Posts are sorted by their post.meta.date as JavaScript dates.

JSON files will also be created for any sections.

Pro tip: Set a sensible cache header for the JSON file.