bobmcwhirter/awestruct — Issue #80: Provide data structure for creating posts archive page
Author: mojavelinux
Created: 2012-02-28 00:45:29+00:00
State: open

Provide a data structure in the posts extension that creates a data structure for creating an archive page for posts.

An archive page is typically laid out with titles and broken into calendar sections. See example here: http://scottmuc.com/blog/archives/

Perhaps something like:

post_archives:
- year: 2012
- month: 1
posts: [...]
- month: 3
posts: [...]
- year: 2011
- month: 5
posts: [...]

and so forth. The idea is to make it easy to iterate on year, then month, then posts.

If this is as easy as just providing an example of how to do this currently, I'm find with that to.