Add the ability to sort categories.

generator.categories is now a list of (category, articles) instead of a dict. This
is to avoid using ordered dicts that have been introduces in python 2.7, so we stay
as much as possible compatible with older versions.

This fixes #62. Thanks to Bruno for the report.
This commit is contained in:
Alexis Metaireau 2011-02-01 01:57:39 +00:00
commit d0ec18f4db
5 changed files with 12 additions and 3 deletions

View file

@ -6,6 +6,7 @@ SITEURL = 'http://blog.notmyidea.org'
GITHUB_URL = 'http://github.com/ametaireau/'
DISQUS_SITENAME = "blog-notmyidea"
PDF_GENERATOR = False
REVERSE_CATEGORY_ORDER = True
LINKS = (('Biologeek', 'http://biologeek.org'),
('Filyb', "http://filyb.info/"),