diff --git a/pelican/bloggenerator.py b/pelican/bloggenerator.py index d09de155..d6296c1e 100644 --- a/pelican/bloggenerator.py +++ b/pelican/bloggenerator.py @@ -122,7 +122,8 @@ def generate_blog(path=None, theme=None, output_path=None, markup=None, category=cat, articles=categories[cat]) for article in articles: generate('%s' % article.url, - templates['article'], context, article=article) + templates['article'], context, article=article, + category=article.category) # copy static paths to output for path in context['STATIC_PATHS']: diff --git a/setup.py b/setup.py index cb7e049d..db4bf7ab 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ if sys.version_info < (2,7): setup( name = "pelican", - version = '1.2.4', + version = '1.2.5', url = 'http://hg.lolnet.org/pelican/', author = 'Alexis Metaireau', author_email = 'alexis@notmyidea.org',