mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #1708 from iksteen/fix-draft-intra-site-links
Fix intra-site links to drafts
This commit is contained in:
commit
a571ec4cd9
1 changed files with 1 additions and 0 deletions
|
|
@ -525,6 +525,7 @@ class ArticlesGenerator(CachingGenerator):
|
|||
preread_sender=self,
|
||||
context_signal=signals.article_generator_context,
|
||||
context_sender=self)
|
||||
self.add_source_path(draft)
|
||||
all_drafts.append(draft)
|
||||
else:
|
||||
logger.error("Unknown status '%s' for file %s, skipping it.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue