def get_route_context(self):
		route = frappe._dict()
		route.update({
			"doc": self,
			"page_or_generator": "Generator",
			"ref_doctype":self.doctype,
			"idx": self.idx,
			"docname": self.name,
			"page_name": self.get_page_name(),
			"controller": get_module_name(self.doctype, self.meta.module),
		})

		route.update(self.website)

		if not route.page_title:
			route.page_title = self.get(self.website.page_title_field and "name")

		return route
dataset/ETHPy150Open frappe/frappe/frappe/website/website_generator.py/WebsiteGenerator.get_route_context/operator `or` -> `and`