mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
add preread signal
This commit is contained in:
parent
ec42fa837f
commit
6d745f32c0
2 changed files with 2 additions and 0 deletions
|
|
@ -307,6 +307,7 @@ class ArticlesGenerator(Generator):
|
|||
article_path,
|
||||
exclude=self.settings['ARTICLE_EXCLUDES']):
|
||||
try:
|
||||
signals.article_generate_preread.send(self)
|
||||
content, metadata = read_file(f, settings=self.settings)
|
||||
except Exception, e:
|
||||
logger.warning(u'Could not process %s\n%s' % (f, str(e)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue