1
Fork 0

Render pages with config

Mostly useful if template tags want to use it
This commit is contained in:
Jake Howard 2023-09-17 17:15:28 +01:00
parent 34acb96ec1
commit 0305754b83
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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)