Update signal names for Pelican 3.3+
@@ -47,4 +47,4 @@ def generate_gallery_page(generator):
def register():
signals.article_generator_finalized.connect(add_gallery_post)
- signals.pages_generator_finalized.connect(generate_gallery_page)
+ signals.page_generator_finalized.connect(generate_gallery_page)
@@ -48,5 +48,5 @@ def add_ical(generator, metadata):
- signals.pages_generator_init.connect(init_cal)
- signals.pages_generate_context.connect(add_ical)
+ signals.page_generator_init.connect(init_cal)
+ signals.page_generator_context.connect(add_ical)
@@ -45,4 +45,4 @@ def register():
Plugin registration
"""
signals.article_generator_context.connect(addLatex)
- signals.pages_generate_context.connect(addLatex)
+ signals.page_generator_context.connect(addLatex)