#3589 but for drafts

This commit is contained in:
dragoncoder047 2026-10-06 15:33:43 -04:00 • committed by GitHub
commit 7628bf7a7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,