mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Update generators.py
Period archives doesn't have an author
This commit is contained in:
parent
75fa793b5a
commit
dcdbd5333f
1 changed files with 1 additions and 3 deletions
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue