Render pages with config
Mostly useful if template tags want to use it
This commit is contained in:
parent
34acb96ec1
commit
0305754b83
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@ def on_page_markdown(markdown, page, config, files):
|
||||||
|
|
||||||
template = env.from_string(markdown)
|
template = env.from_string(markdown)
|
||||||
|
|
||||||
return template.render(page=page)
|
return template.render(page=page, config=config)
|
||||||
|
|
Loading…
Reference in a new issue