mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fixed the PDF generation
Signed-off-by: Guillaume B <guitreize@gmail.com>
This commit is contained in:
parent
750e211649
commit
31cee95b6f
3 changed files with 16 additions and 7 deletions
2
pelican/__init__.py
Normal file → Executable file
2
pelican/__init__.py
Normal file → Executable file
|
|
@ -73,7 +73,7 @@ def run_pelican(settings, path, theme, output_path, markup, delete):
|
|||
params = init_params(settings, path, theme, output_path, markup, delete)
|
||||
generators = [ArticlesGenerator, PagesGenerator, StaticGenerator]
|
||||
if params[0]['PDF_GENERATOR']: # param[0] is settings
|
||||
processors.append(PdfGenerator)
|
||||
generators.append(PdfGenerator)
|
||||
run_generators(generators, *params)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue