Merge branch 'hotfix'
This commit is contained in:
commit
5cd8d4e8a0
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json
|
|||
from .exceptions import *
|
||||
from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template
|
||||
|
||||
__version__ = '9.0.4'
|
||||
__version__ = '9.0.5'
|
||||
__title__ = "Frappe Framework"
|
||||
|
||||
local = Local()
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ def build_page(path):
|
|||
frappe.local.path = path
|
||||
|
||||
context = get_context(path)
|
||||
if "{{" in context.title:
|
||||
if context.title and "{{" in context.title:
|
||||
title_template = context.pop('title')
|
||||
context.title = frappe.render_template(title_template, context)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue