Update generators.py

Period archives doesn't have an author
This commit is contained in:
Fernando Flórez 2014-03-23 23:28:44 -05:00
commit dcdbd5333f

View file

@ -306,12 +306,10 @@ class ArticlesGenerator(Generator):
date = archive[0].date date = archive[0].date
category = archive[0].category category = archive[0].category
lang = archive[0].lang lang = archive[0].lang
author = archive[0].author
save_as = save_as_fmt.format( save_as = save_as_fmt.format(
date=date, date=date,
category=category, category=category,
lang=lang, lang=lang
author=author
) )
context = self.context.copy() context = self.context.copy()