mirror of
https://github.com/getpelican/pelican.git
synced 2026-10-15 09:26:54 +02:00
#3589 but for drafts
This commit is contained in:
parent
3c69dc68d2
commit
7628bf7a7e
1 changed files with 1 additions and 1 deletions
|
|
@ -667,7 +667,7 @@ class ArticlesGenerator(CachingGenerator):
|
|||
self.get_template(draft.template),
|
||||
self.context,
|
||||
article=draft,
|
||||
category=draft.category,
|
||||
category=getattr(draft, "category", None),
|
||||
override_output=hasattr(draft, "override_save_as"),
|
||||
blog=True,
|
||||
all_articles=self.articles,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue