forked from github/pelican
Resolve inter-site links in summaries.
c.f. https://github.com/getpelican/pelican/issues/3265 c.f. https://github.com/MinchinWeb/minchin.pelican.plugins.summary/issues/5
This commit is contained in:
parent
f2ab4a1dc1
commit
d39dd9b85f
2 changed files with 16 additions and 8 deletions
|
|
@ -120,12 +120,15 @@ class Pelican:
|
|||
if hasattr(p, "generate_context"):
|
||||
p.generate_context()
|
||||
|
||||
# for plugins that create/edit the summary
|
||||
logger.debug("Signal all_generators_finalized.send(<generators>)")
|
||||
signals.all_generators_finalized.send(generators)
|
||||
|
||||
# update links in the summary, etc
|
||||
for p in generators:
|
||||
if hasattr(p, "refresh_metadata_intersite_links"):
|
||||
p.refresh_metadata_intersite_links()
|
||||
|
||||
signals.all_generators_finalized.send(generators)
|
||||
|
||||
writer = self._get_writer()
|
||||
|
||||
for p in generators:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue