def add_hero(self, context):
		context.hero = ""
		if "<!-- start-hero -->" in context.main_section:
			parts1 = context.main_section.split("<!-- start-hero -->")
			parts2 = parts1[1].split("<!-- end-hero -->")
			context.main_section = parts1[0] + parts2[1]
			context.hero = parts2[0]
Add a hero element if specified in content or hooks.
dataset/ETHPy150Open frappe/frappe/frappe/website/doctype/web_page/web_page.py/WebPage.add_hero