|
|
@@ -168,6 +168,9 @@ def build_page(path): |
|
|
|
frappe.local.path = path |
|
|
|
|
|
|
|
context = get_context(path) |
|
|
|
if "{{" in context.title: |
|
|
|
title_template = context.pop('title') |
|
|
|
context.title = frappe.render_template(title_template, context) |
|
|
|
|
|
|
|
if context.source: |
|
|
|
html = frappe.render_template(context.source, context) |
|
|
|