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
|
||||
category = archive[0].category
|
||||
lang = archive[0].lang
|
||||
author = archive[0].author
|
||||
save_as = save_as_fmt.format(
|
||||
date=date,
|
||||
category=category,
|
||||
lang=lang,
|
||||
author=author
|
||||
lang=lang
|
||||
)
|
||||
context = self.context.copy()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue