Merge branch 'master' into develop

This commit is contained in:
Nabin Hait 2017-09-27 18:25:14 +05:30
commit e9126dfce0
2 changed files with 2 additions and 2 deletions

View file

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

View file

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