@frappe.whitelist(allow_guest=True)
def getpage():
 page = frappe.form_dict.get(u'name')
 doc = get(page)
 if (frappe.lang != u'en'):
  send_translations(frappe.get_lang_dict(u'page', page))
 frappe.response.docs.append(doc)

@ frappe . whitelist ( allow_guest = True ) def getpage ( ) : page = frappe . form_dict . get ( u'name' ) doc = get ( page ) if ( frappe . lang != u'en' ) : send_translations ( frappe . get_lang_dict ( u'page' , page ) ) frappe . response . docs . append ( doc )
load the page from frappe .