mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge dcdbd5333f into 7e06912bca
This commit is contained in:
commit
5a8f29ce3c
1 changed files with 7 additions and 1 deletions
|
|
@ -304,7 +304,13 @@ class ArticlesGenerator(Generator):
|
|||
# format string syntax can be used for specifying the
|
||||
# period archive dates
|
||||
date = archive[0].date
|
||||
save_as = save_as_fmt.format(date=date)
|
||||
category = archive[0].category
|
||||
lang = archive[0].lang
|
||||
save_as = save_as_fmt.format(
|
||||
date=date,
|
||||
category=category,
|
||||
lang=lang
|
||||
)
|
||||
context = self.context.copy()
|
||||
|
||||
if key == period_date_key['year']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue