startling/cytoplasm-blog-controller — Issue #9: archive context variable for chronological pages
Author: pjv
Created: 2012-02-06 20:19:20+00:00
State: open

i'm trying to come up with a way to provide my chronological template with an iterable data structure that holds links to a blog's entire archive so that i could produce output on the page that would be something like lists of links to years and months in aggregate -- maybe something like:

2012
2011
2010
2009

and then maybe i'd use some javascript or something to slide out a list of months under each year on hover or something like that. anyway, it would require a data structure that i can see from looking at the __call__ function in the BlogController class is probably some transform of the "divisions" dict, but i can't quite see how to do it.

any ideas?